Created
August 26, 2014 04:01
-
-
Save westc/4ec0e9aae6c6cc218cba to your computer and use it in GitHub Desktop.
Removes the styles and stylesheets from a web page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(a,b,c){function d(a){a.style&&(a.style.cssText='');for(var b,c=0;b=a.childNodes[c++];)d(b)}a=document.styleSheets;for(c=a.length;b=a[--c];)b.disabled=!0;d(document.body)})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment