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

Refused to connect to 'https://web.archive.org/wayback/available?url=https://github.com/' because it violates the following Content Security Policy directive: "connect-src 'self' #1

Open
Suvanth-Erranki opened this issue Oct 27, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Suvanth-Erranki
Copy link
Owner

Suvanth-Erranki commented Oct 27, 2021

When the UserScript tries to make a fetch request to web.archive.org to check for an available archive of the site, sometimes the connect-src directive of the Content-Security-Policy of a website can block that.

Example: https://github.com/404errortesting

When the UserScript makes a fetch request to https://web.archive.org, it gets an error because the website blocks it:

image

@Suvanth-Erranki Suvanth-Erranki added the bug Something isn't working label Oct 27, 2021
@Suvanth-Erranki Suvanth-Erranki pinned this issue Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant