Skip to content

Make shorter bookmarketlet with reference to main script only #7

@404-html

Description

@404-html

Following script:

(function(){s=document.createElement('script');s.type='text/javascript';s.src='https://raw.githubusercontent.com/404-html/internet-cleaner/master/dist/main.js';document.body.appendChild(s);})();

fails to execute. Error below:

Refused to load the script 'https://raw.githubusercontent.com/404-html/internet-cleaner/master/dist/main.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions