Fix 'set-local-storage-item' — scriptlet does not work on https://search.brave.com/
Hello,
it looks like the scriptlet set-local-storage-item does not work on https://search.brave.com/.
Tried
search.brave.com,example.org#%#//scriptlet('set-local-storage-item', 'app.usageMetricsOptOut', 'true')
and this the result on
search.brave.com
example.org
Tried also the same scriptlet with uBlock Origin.
This is the result:
Could you take a look, please?
Additional information: Firefox 120 AG Ext v. 4.2.228
It seems that it's related to this issue - https://github.com/AdguardTeam/AdguardBrowserExtension/issues/1733 and in the case of Firefox extension injecting scripts is blocked by website's Content-Security-Policy.
Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”).
It works fine in Chrome extension and app for Windows (it should works fine with app for macOS and Android as well, but I didn't test it).
Thanks @AdamWr for your explanation! I confirm that it works on AG for Android.