hide preloader (by classname), separate into new file - 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 f0549950ceb52a2e435fb476d3288932feee9e76
(DIR) parent 69e862f11890afda727c5925ef22705842a8b773
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 16 Feb 2020 13:25:11 +0100
hide preloader (by classname), separate into new file
Diffstat:
M extension/global/anim.css | 6 ++----
A extension/global/preloaders.css | 7 +++++++
M extension/manifest.json | 2 +-
3 files changed, 10 insertions(+), 5 deletions(-)
---
(DIR) diff --git a/extension/global/anim.css b/extension/global/anim.css
@@ -6,6 +6,8 @@
html {
display: block !important;
}
+
+/* remove things like fade-in animations */
body,
body > * {
transition: 0s !important;
@@ -17,7 +19,3 @@ body {
display: block !important;
visibility: visible !important;
}
-
-#PageFirstLoadOverlay {
- background: initial !important;
-}
(DIR) diff --git a/extension/global/preloaders.css b/extension/global/preloaders.css
@@ -0,0 +1,7 @@
+#PageFirstLoadOverlay {
+ background: initial !important;
+}
+
+.preloader {
+ display: none;
+}
(DIR) diff --git a/extension/manifest.json b/extension/manifest.json
@@ -14,7 +14,7 @@
{
"matches": [ "*://*/*" ],
"js": [ "global/focus.js", "global/fiximg.js" ],
- "css": [ "global/anim.css" ],
+ "css": [ "global/anim.css", "global/preloaders.css" ],
"all_frames": true
},
{