CSS toggle bookmarklet

Scot Hacker passes this along, saying: “Very cool bookmarklet for web developers—open this as a URL, then drag the bookmark icon to your toolbar”:
javascript:i=0;if(document.styleSheets.length>0){cs=!document.styleSheets[0].disabled;for(i=0;i<document.styleSheets.length;i++)document.styleSheets[i].disabled=cs;};void(cs=true);.
Now you can toggle CSS on and off for any page (with any browser).


Posted

in

by

Tags: