top | item 46342648

(no title)

codegladiator | 2 months ago

How did chrome webstore team approve use of eval/new function in chrome plugin ? Isn't that against their tos ?

  Execute JavaScript code in the context of the current page

discuss

order

anamexis|2 months ago

Doesn’t basically every Chrome extension execute JavaScript in the context of the page?

codegladiator|2 months ago

That's the javascript included in the plugin crx. This is about code retrieved over API being executed (so that code being run cannot be approved by chrome webstore team)

miki_oomiri|2 months ago

I don't think they mean executing locally JS code generated server-side.

codegladiator|2 months ago

Its a "tool call" definition in their code named 'execute_javascript', which takes in a "code" parameter and executes it. The code here being provided by the LLM which is not sitting locally. So that code is not present "in the plugin binary" at the time when chrome store team is reviewing it.