Skip to content

Instantly share code, notes, and snippets.

@dpfrakes
Created May 11, 2018 17:34
Show Gist options
  • Save dpfrakes/0a6671e35515dd4b442f8f60ba066a20 to your computer and use it in GitHub Desktop.
Save dpfrakes/0a6671e35515dd4b442f8f60ba066a20 to your computer and use it in GitHub Desktop.
bookmarklet to remove internal styles and external stylesheets
javascript:((function() {document.querySelectorAll("link[rel='stylesheet']").forEach(function(l) {l.remove();});document.querySelectorAll("style").forEach(function(s) {s.remove();});})())
@dpfrakes
Copy link
Author

Go to Bookmark Manager, add new bookmark, name it "Remove CSS," and copy/paste this code into the URL field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment