Old: v0.8 - 2016-01-18 - A bit of a cleanup here and on a previous change.
New: v0.9 - 2016-01-18 - I haven't figured out myself how to set MutationObserver to look for all style changes and haven't found anything good on the Internet. Thanks to the Infocatcher for pointing this out. ☉⏝⚆
- @@ -1,7 +1,7 @@
- // ==UserScript==
- // @name It's Not Important
- // @namespace lainscripts_it_is_not_important
-// @version 0.8
- +// @version 0.9
- // @description At least part of the world will became less important now.
- // @author lainverse
- // @match *://*/*
- @@ -38,6 +38,5 @@
- logger(c);
- },0,mutations);
- });
- var everything = document.querySelectorAll('*'), i = everything.length;
- while(i--) observer.observe(everything[i], { attributes : true, attributeFilter : ['style'] });
- + observer.observe(document.body, { attributes : true, attributeFilter : ['style'], subtree : true });
- })();