K-Meleon
KMeleonWiki > Resources > MacroLibrary > Disable Style
Submitted by: Trenton - http://geocities.com/boogomatic/
# Disable Style Sheets Macro Disable_Style? { menu="Disable Style Sheets"; open("javascript:(function(){var i,x;for(i=0;x=document.styleSheetsi;++i)x.disabled=true;})();"); } Enable_Style? { menu="Enable Style Sheets"; open("javascript:(function(){var i,x;for(i=0;x=document.styleSheetsi;++i)x.disabled=false;})();"); } #end
# Place this in your menu.cfg file where you chose. # Within the View section is best macros(Disable_Style?) macros(Enable_Style?)
Comment from Trenton :
Test it on pages like http://www.csszengarden.com ..or even my page of examples http://www.geocities.com/boogomatic/my_km.html You can really destroy some pages with this macro.