We are getting increasing feedback from Safari Web Clipper users of problems clipping certain sites. One reason in these cases can be caused by how Safari have chosen to enforce Content Security Policy (CSP) headers.
Summary of CSP:
- It's a 'setting' of sorts, that site publishers can set that limits what bookmarklets and extensions can do on their site.
- In Safari this may cause the Web Clipper to not being able to execute any code and thus not being able to start.
Idea
jbignert 473
Hi all,
We are getting increasing feedback from Safari Web Clipper users of problems clipping certain sites. One reason in these cases can be caused by how Safari have chosen to enforce Content Security Policy (CSP) headers.
Summary of CSP:
- It's a 'setting' of sorts, that site publishers can set that limits what bookmarklets and extensions can do on their site.
- In Safari this may cause the Web Clipper to not being able to execute any code and thus not being able to start.
- More info about CSP is available here: http://www.w3.org/TR/CSP/
Typical signs of a CSP issue:
- When clicking the Web Clipper toolbar button absolutely nothing happens. (i.e no Web Clipper UI will load)
How to determine if the site is having restrictive CSP settings:
- See this Skitched tutorial for a guide.
https://www.evernote.com/l/AAwMRDf060tB94tLsqW1TK2dNxvFGBuroh4
What can be done about it?
- At this point there is nothing that we can 'fix' in the Web Clipper. We are blocked by Safari from running any code.
- At the moment Chrome and other browser haven't implemented CSP the same way so clipping in those browser should work fine if the root cause is CSP.
57 replies to this idea
Recommended Posts
Archived
This topic is now archived and is closed to further replies.