Proofread API doesn't work

43 views
Skip to first unread message

Rákóczi Piroska

unread,
Oct 23, 2025, 3:02:47 PMOct 23
to Chrome Built-in AI Early Preview Program Discussions
Hello,
I am building a chrome extension in which there is feater that should proofread the inserted text.
I had it checked by claude.ai and agent-zero.ai and even chatGPT, but all are saying there is nothing wrong with the codes.
I think when I fill the form of the token, I don't write the suitable url. I insert a url, like https://chrome://extensions/my_extension_ID
Is this the problem or anything else?
Can you use proofreader api with chrome extensions?
Best regards,
Piroska

Thomas Steiner

unread,
Oct 24, 2025, 5:36:18 AMOct 24
to Rákóczi Piroska, Chrome Built-in AI Early Preview Program Discussions
Hi Rákóczi,

Yes, the Proofreader API is supported in Chrome Extensions. You need to sign up for the trial at https://developer.chrome.com/origintrials/#/view_trial/1988902185437495297. To register your extension for a trial, you use the URL chrome-extension://YOUR_EXTENSION_ID, for example chrome-extension://ljjhjaakmncibonnjpaoglbhcjeolhkk. To use a trial feature inside of a background script, popup, sidepanel, or offscreen document, use the trial_tokens key in your manifest.json file.

"trial_tokens": ["YOUR_TOKEN"]


Cheers,
Tom

--
You received this message because you are subscribed to the Google Groups "Chrome Built-in AI Early Preview Program Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-ai-dev-previe...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ai-dev-preview-discuss/54a20f70-3e5e-4357-835c-b50328d8f533n%40chromium.org.


--
Thomas Steiner, PhD—Developer Relations Engineer (blog.tomayac.comtoot.cafe/@tomayac)

Google Spain, S.L.U.
Torre Picasso, Pl. Pablo Ruiz Picasso, 1, Tetuán, 28020 Madrid, Spain

CIF: B63272603
Inscrita en el Registro Mercantil de Madrid, sección 8, Hoja M­-435397 Tomo 24227 Folio 25

----- BEGIN PGP SIGNATURE -----
Version: GnuPG v2.4.8 (GNU/Linux)

iFy0uwAntT0bE3xtRa5AfeCheCkthAtTh3reSabiGbl0ck
0fjumBl3DCharaCTersAttH3b0ttom.xKcd.cOm/1181.
----- END PGP SIGNATURE -----

Thomas Steiner

unread,
Oct 24, 2025, 7:37:57 AMOct 24
to Rákóczi Piroska, Chrome Built-in AI Early Preview Program Discussions, Thomas Steiner
Hi Piroska,

Could you share the code for your simple extension? That would help me to see what might be going wrong.

Cheers,
Tom

On Fri, Oct 24, 2025 at 1:30 PM Rákóczi Piroska <piroska...@gmail.com> wrote:
Hello Thomas,
I have done all that you wrote and the proofreading doesn't work.
I made a very simple version of the extension.
You just insert the text and start the proofreading and the extension doesn't work.
What should I do?
Piroska

Thomas Steiner

unread,
Oct 24, 2025, 8:50:36 AMOct 24
to Rákóczi Piroska, Chrome Built-in AI Early Preview Program Discussions, Thomas Steiner
Hi again,

The problem with your code is that you're using window.ai.proofreader. It should instead be window.Proofreader. Please see the documentation for details.

Cheers,
Tom

On Fri, Oct 24, 2025 at 2:04 PM Rákóczi Piroska <piroska...@gmail.com> wrote:
Thank you, Tom.
I am sending the codes.
If google drive is Ok for you here is the link.
If you need another kind of format let me know.
Thank you again.
Piroska

Thomas Steiner

unread,
Oct 24, 2025, 10:13:20 AMOct 24
to Rákóczi Piroska, Thomas Steiner, chrome-ai-dev-...@chromium.org
On Fri, Oct 24, 2025, 15:37 Rákóczi Piroska <piroska...@gmail.com> wrote:
Hello Tom,
You were absolutely right.
It worked with reel Proofreader.

Glad to hear it worked. 

It colored to red the incorrect words. Is that all it can do? Can it give a suggestion for correct spelling?

I could provide you with the answer: it's "yes, it can do more", but I let you find out the details by, again, pointing you at the documentation. See the link in the previous email. Godspeed!

Cheers,
Tom

Thanks a lot!!
Piroska
Reply all
Reply to author
Forward
0 new messages