top | item 33928391

(no title)

lzaaz | 3 years ago

Quite literally yes. It would've killed GreaseMonkey userscripts and such

discuss

order

vbezhenar|3 years ago

According to my little research you can insert script tags, but you can only use the scripts which are bundled inside the extension. It's still not clear to me what prevents this script to download external script using AJAX which will execute whatever user wants (e.g. some cloud userscript service).

Also for power users it should not be a problem at all. Just create your own extension which is literally few simple files and put your userscripts inside that extension. Then load this extension from the chrome and voila.

oefrha|3 years ago

> It's still not clear to me what prevents this script to download external script using AJAX which will execute whatever user wants

If you read the MV3 migration guide you’ll quickly realize why. CSP script-src is restricted to self, none, or localhost sources for all non-sandbox pages, content scripts included.

https://developer.chrome.com/docs/extensions/mv3/mv3-migrati...