Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working anymore in chrome extension v3 manifest #27

Open
AndriusCTR opened this issue Apr 9, 2021 · 6 comments
Open

Not working anymore in chrome extension v3 manifest #27

AndriusCTR opened this issue Apr 9, 2021 · 6 comments

Comments

@AndriusCTR
Copy link

"Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'"."

In other words, the latest chrome extension platform V3 does not allow eval and thus can't use this great library any more.

Any solutions?

@ilinsky
Copy link
Owner

ilinsky commented Apr 9, 2021

The library does not appear to be using eval function (why should it?). The minimized version however does use Function constructor, which may cause the problem. Can you try not-minimized version maybe and report here?

@AndriusCTR
Copy link
Author

Thanks, yeah full version seems to work properly.

I wonder if it's possible to have minimized version without eval...

@ilinsky
Copy link
Owner

ilinsky commented Apr 9, 2021

Yes, the base engine has just been revived, and the dependant libraries builds will soon be created and published.

@AndriusCTR
Copy link
Author

Thanks

@bonjour-anuj
Copy link

Any update on this?

@ilinsky
Copy link
Owner

ilinsky commented Sep 17, 2021

No update yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants