Open domwills opened 4 years ago
Hello.
The reason is github's security policy:
Refused to load the script 'https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js' because it violates the following Content Security Policy directive: "script-src github.githubassets.com". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
I presume this is the same issue I'm having with our website.
Would there be any workaround for this?
You can add this to config file of the site in the header Content-Security-Policy
.
Just search for these words throughout the directory of the site. This setting can be written anywhere.
Then add https://*.aspnetcdn.com
to the security config.
Or try this: https://stackoverflow.com/a/35273628
When attempting to take a screenshot using the snippet below I get an error back.
Error:
Snippet: