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

Make compatible with secure Content-Security-Policy #198

Open
junowilderness opened this issue Jul 9, 2019 · 3 comments
Open

Make compatible with secure Content-Security-Policy #198

junowilderness opened this issue Jul 9, 2019 · 3 comments

Comments

@junowilderness
Copy link

A reasonable Content-Security-Policy sets 'script-src' to 'self', which blocks inline JavaScript. This module currently uses inline JavaScript for the refresh feature.

@Olaf1989
Copy link
Contributor

Olaf1989 commented Jun 5, 2020

@Gregwar @cilefen I also ran into the Content-Security-Policy story. It seems good to me to implement this, some minor updates will have to be adjusted for this. Hopefully I will have some time soon to submit a new pull request for this (unless someone else has time for this).

@junowilderness
Copy link
Author

This is a bit "much" but this is how SF excepts the profile toolbar.

@Olaf1989
Copy link
Contributor

@cilefen that is a nice solution, but I think this is, indeed, a bit too big for the small piece of javascript code what matters to us.

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

Successfully merging a pull request may close this issue.

2 participants