improve disable of page transitions - firefox-fix-web - Firefox extension: fix web
(HTM) git clone git://git.codemadness.org/firefox-fix-web
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 7bddacc618ed270254f131df808bbd2c6282798e
(DIR) parent 8cee29a8f6e7b17a211e7ed855d702fca577c399
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
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(-)
---
(DIR) 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;
+}