Skip to content

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

@susvent

Description

@susvent

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions