DataTables / VisualEvent

Visually show Javascript events on a page
http://sprymedia.co.uk
1.04k stars 162 forks source link

Refused to load the script 'https://www.sprymedia.co.uk/VisualEvent/VisualEvent_Loader.js?rand=1422735185563' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' https://ajax.googleapis.com". #57

Closed cprcrack closed 9 years ago

cprcrack commented 9 years ago

I get this error on the console when running Visual Event 2. Can you provide a fully inline Javascript that doesn't load anything from such domain? Thanks.

DataTables commented 9 years ago

Can you tell me what bowser you are using and what page you are using where this error occurs please? There are some cases where the browser stops Visual Event from loading external scripts due to their configured security policies - there is more or less nothing Visual Event can do about that.

cprcrack commented 9 years ago

Chrome 40, web.whatsapp.com. If you could provide the whole script as one inline piece of Javascript code without external paths, it would probably work.

DataTables commented 9 years ago

Great thanks for the additional information. Visual Event (particularly if jQuery needs to be included) is got to result in one seriously large bookmark entry as a single script. I don't really want to make a public release of that, but it would be quote possibly just to grab the source file and dump it into your own bookmark.