4 ms·
Lets put this into a bookmarklet :P
by fabriceleal 13y ago
Lets put this into a bookmarklet :P
- fabriceleal 13y agoDone: https://gist.github.com/fabriceleal/5547487 https://gist.github.com/fabriceleal/5547487. Tested in hacker news (no jQuery) and wikipedia (has jQuery). For some reason, github doesn't like that I'm loading something from raw.github.com/... Chrome console says: Refused to load the script 'https://raw.github.com/theonion/fartscroll.js/master/fartscroll.js https://raw.github.com/theonion/fartscroll.js/master/fartscr... because it violates the following Content Security Policy directive: "script-src https://github.com https://github.com https://a248.e.akamai.net https://a248.e.akamai.net https://jobs.github.com https://jobs.github.com https://ssl.google-analytics.com https://ssl.google-analytics.com https://secure.gaug.es https://secure.gaug.es https://gist.github.com https://gist.github.com.
- dschep 13y agoHah. Looks like you beat me to it. I made a slightly different version: http://dschep.github.io/GistMarklets/#5547713 http://dschep.github.io/GistMarklets/#5547713
- buttscicles 13y agoIt's because of this: https://github.com/blog/1477-content-security-policy https://github.com/blog/1477-content-security-policy This might also be of interest: https://github.com/blog/1482-heads-up-nosniff-header-support-coming-to-chrome-and-firefox https://github.com/blog/1482-heads-up-nosniff-header-support...