From a3a64ec44e9cc0806595db0995133418cdf1d794 Mon Sep 17 00:00:00 2001 From: Gerome Matilla Date: Sat, 22 Aug 2020 09:41:17 +0800 Subject: [PATCH] README, usercontent comeback --- README.md | 2 +- userContent.css | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 userContent.css diff --git a/README.md b/README.md index 92fd4f8..5f87745 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,8 @@ + It is advisible to check the script first before running it. + You need `bash` to run it. + If you have an existing chrome folder, the script will make a backup of it in your profile directory. ++ The script will move a file named `user.js` that contains all the preferences needed for blurredfox to work. The existing one will be backed up. + If the installation script is not working, feel free to submit an issue or a pull request. -+ The script will move a file named `user.js` that contains all the preferences needed for blurredfox to work. The existing one will be copied to `user.js.bak`. 1. Run the script below. If you are using a different build like nightly, beta, etc., make sure to replace the 'stable' with the Firefox Build you are using. If leave empty, it will default to stable. diff --git a/userContent.css b/userContent.css new file mode 100644 index 0000000..e46a12d --- /dev/null +++ b/userContent.css @@ -0,0 +1,21 @@ +@import url('userChrome.css'); + +/* Removes the white loading page */ +/* url(about:newtab), url(about:home) */ +@-moz-document url(about:blank) { + html:not(#ublock0-epicker), html:not(#ublock0-epicker) body, #newtab-customize-overlay { + background: var(--bf-bg) !important; + } +} + +/* Hide scrollbar */ +:root{ + scrollbar-width: none !important; +} + +/* Hide incognito scrollbar */ +@-moz-document url(about:privatebrowsing) { + :root{ + scrollbar-width: none !important; + } +}