flix_plus icon indicating copy to clipboard operation
flix_plus copied to clipboard

Cannot open options in latest chrome: script-src 'unsafe-eval'

Open Hazzard13 opened this issue 6 years ago • 1 comments

None of the links work in the extension tooltip. Opening the tooltip as it's own tab allows me to see these errors logging in console:

Error Screenshot

This leads me to believe that chrome's security directives have changed, and that none of the extension scripts are loading, making it completely unusable. Workarounds or a fix would be greatly appreciated!

Hazzard13 avatar Feb 20 '19 13:02 Hazzard13

You can fix this by removing "content_security_policy": "script-src 'unsafe-eval'; object-src 'self'", from manifest.json.

But lots of other things are broken due to changes from Netflix, most notably the detecting of the logged in user which is used to store/read per-user settings.

I spent a little time trying to fix those things over Christmas and just pushed what I have to a dev branch; the manifest.json change gets made by openforge and needs to be undone after every build for now.

jaredsohn avatar Feb 20 '19 17:02 jaredsohn