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 when Content-Security-Policy is implemented #55

Open
zwozwo opened this issue May 31, 2022 · 1 comment
Open

not working when Content-Security-Policy is implemented #55

zwozwo opened this issue May 31, 2022 · 1 comment

Comments

@zwozwo
Copy link

zwozwo commented May 31, 2022

hello, can i put the init-Code directly into the js instead in a script tag? wow does not run since i implemented a csp header because the init-code is recognized as an inline script which are ignored. I am not used in js, so, if it is possible, i would need the whole lines to put in with all the ({; and so on
Can anybody helpp me? Thanks in advance, Silke

@zwozwo zwozwo closed this as completed Jun 4, 2022
@zwozwo zwozwo reopened this Jun 4, 2022
@opencoca
Copy link

The following will work if you don't want to inline the loading function and have it in a separate js (like on https://jsbin.com/ or http://codepen.io/).

window.onload = function funLoad() {
  new WOW().init(); 
}

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

2 participants