jquery-xpath
jquery-xpath copied to clipboard
Not working anymore in chrome extension v3 manifest
"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?
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?
Thanks, yeah full version seems to work properly.
I wonder if it's possible to have minimized version without eval...
Yes, the base engine has just been revived, and the dependant libraries builds will soon be created and published.
Thanks
Any update on this?
No update yet.