/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Chrome is adding `window.ai` – a Gemini Nano AI model right inside the browser
(twitter.com)
229 points
modinfo
| 3 comments |
30 Jun 24 01:56 UTC
|
HN request time: 0.51s
|
source
Show context
nnnnico
◴[
30 Jun 24 02:45 UTC
]
No.
40834792
[source]
▶
>>40834600 (OP)
#
eval(window.ai("js code to remove all adds in the following page" + document.documentElement.outerHTML))
replies(3):
>>40834856
#
>>40834859
#
>>40835765
#
1.
niutech
◴[
30 Jun 24 08:02 UTC
]
No.
40835765
[source]
▶
>>40834792
#
The API isn't `window.ai(prompt)` and what does "remove all adds" mean?
replies(2):
>>40835806
#
>>40836250
#
ID:
GO
2.
Klonoar
◴[
30 Jun 24 08:14 UTC
]
No.
40835806
[source]
▶
>>40835765 (TP)
#
They’re implying that you could trick the model into providing an up to date way to block ads on the page since it’s local and could just inspect the page.
The joke comes across fine even with the wrong AI call, lol
3.
DonHopkins
◴[
30 Jun 24 10:11 UTC
]
No.
40836250
[source]
▶
>>40835765 (TP)
#
You could still add by negating and subtracting!
↑