vision icon indicating copy to clipboard operation
vision copied to clipboard

Note that the bookmarklet doesn't work on sites with restrictive CSP

Open jean opened this issue 9 years ago • 2 comments

E.g. clicking the bookmarklet on a private github repo results in this in the console: Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src https://assets-cdn.github.com").

jean avatar Mar 30 '16 12:03 jean

Hello @jean . The bookmarklet does work on HTTPS sites but specifically not GitHub and other sites which have strict Content Security Policy settings. The issue is to do with Content Security Policy that prevents scripts from being loaded from domains outside a whitelist set by GitHub.

robertknight avatar Mar 30 '16 12:03 robertknight

Ah! Fair enough. I think this (CSP issue) should be mentioned in the "Drag the button into your bookmarks bar then click it to launch the Hypothesis application." popup though.

jean avatar Mar 30 '16 12:03 jean