improve disable of page transitions - firefox-fix-web - Firefox extension: fix … | |
git clone git://git.codemadness.org/firefox-fix-web | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 7bddacc618ed270254f131df808bbd2c6282798e | |
parent 8cee29a8f6e7b17a211e7ed855d702fca577c399 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sat, 8 Sep 2018 19:55:00 +0200 | |
improve disable of page transitions | |
Don't force show all elements, some ugly sites use fading menus. This would | |
always display them. | |
Some evil sites use display: none on the body element to hide a page and use | |
javascript to show it. Set these to display: initial; (which should be block). | |
Diffstat: | |
M extension/global/anim.css | 7 ++++++- | |
1 file changed, 6 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/extension/global/anim.css b/extension/global/anim.css | |
@@ -1,4 +1,9 @@ | |
-* { | |
+body, | |
+body > * { | |
transition: 0s !important; | |
opacity: 1 !important; | |
} | |
+ | |
+body { | |
+ display: initial !important; | |
+} |