google.js - firefox-fix-web - Firefox extension: fix web | |
git clone git://git.codemadness.org/firefox-fix-web | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
google.js (249B) | |
--- | |
1 // fix-up some inline-style that sets "display:none" and hides the page. | |
2 for (var o of document.querySelectorAll("body>span>style")) { | |
3 var text = o.innerText || ""; | |
4 if (text.indexOf("display:none") != 0 && text.length < 255) | |
5 o.innerText = ""; | |
6 } |