Live data from Hacker News

Chrome is adding `window.ai` – a Gemini Nano AI model right inside the browser

twitter.com

21–30 of 194 posts

Re: Chrome is adding `window.ai` – a Gemini Nano AI model right inside the browser

#21
post #9

Earlier quoted context omitted.

I don't think so. Chrome is already the most popular browser. If a website decides to use this they are just going to tell users to use Chrome. And then Chrome sustains its dominant position. It's the right strategy for them to further their dominance. And the right way to think about it isn't other browsers. It's Google seeing what Apple is doing in iOS 18 and imitating that.

> It's the right strategy for them. That's what people said about Internet Explorer

Of course. The right strategy for them is emphatically not the same as the right thing for users.

Re: Chrome is adding `window.ai` – a Gemini Nano AI model right inside the browser

#22
post #17

This doesn't seem useful unless it's something standardized across browsers. Otherwise I'd still need to use a plugin to support safari, etc. It seems like it could be nice for something like a bookmarklet or a one-off script, but I don't think it'll really reduce friction in engaging with Gemini for serious web apps.

Browser extensions should be able to shim or even overwrite the `.ai` object in the window, so it should be possible to add ollama etc to all browsers through extensions with the same API, making it a defacto standard It should be simple enough to do that I believe at least 3-5 people are going to be doing this if it's not done already Hell, if nobody does it I will do it

Further notes:

I had been thinking and speaking in public about how to make a "Metamask but for AI instead of crypto" but I thought it would be impossible for websites to adopt it

Now thanks to Google it's possible to piggy back onto the API

I'm very happy about this

Re: Chrome is adding `window.ai` – a Gemini Nano AI model right inside the browser

#27

Today I finally clicked on that "Create theme with AI" on chrome's default page. I'm really having a hard time trying to differentiate it with selecting any random theme. At this point I'm going to create an image generator that's just an api to return random images from pixabay. pix.ai (opensource of course)

So many AI applications right now are just buzzword plays like that, burning hundreds of watts and seconds of latency on features that are already solved better and cheaper with traditional programs.

But lots of both stakeholders and users currently value the "magic" itself over anything practical.

Re: Chrome is adding `window.ai` – a Gemini Nano AI model right inside the browser

#28
post #7
post #4

I hope it can be disabled.

Yes, here's where you disable it: https://www.mozilla.org/en-US/firefox/new/

Mozilla's all-in on AI too, so it's only a matter of time until Firefox gets this: https://blog.mozilla.org/en/products/firefox/firefox-news/ai...

Re: Chrome is adding `window.ai` – a Gemini Nano AI model right inside the browser

#30
post #11

And my love for Safari goes up a little more.

Are you expecting Apple to not add AI right in their own browser, after their 1 hour "we also do AI" presentation this month ?

There was already talk of using it in Safari to allow users to create custom filters to persistently block portions of a given website.

Sort of like using ChatGPT to help figure out how to use FFmpeg to accomplish a task from the command prompt, but used to create the equivalent of greasemonkey scripts.

Post reply on HN