OneTab-Night-Mode
OneTab-Night-Mode copied to clipboard
Suggestion: instructions on installing for Firefox with userContent.css
This is how I got the style working in my copy of Firefox 79.0:
Find your OneTab URL
- Open your OneTab tab; you need the URL which looks something like
moz-extension://72c7e844-0d86-4359-b35e-ddf42525461b/onetab.html(The long string of meaningless numbers and letters will almost certainly be different for you!)
Create userContent.css
- Find your profile directory (check about:support for "Profile Directory")
- In your profile directory, create a subdirectory
chromeif one doesn't already exist - In the new
chromedirectory, create an emptyuserContent.cssif one doesn't already exist - Paste the contents of OneTab-Night-Mode
onetab.cssinto theuserContent.css - Wrap the code you pasted in this to ensure the modifications are only applied to OneTab:
@-moz-document url("moz-extension://72c7e844-0d86-4359-b35e-ddf42525461b/onetab.html") {
/* Contents of onetab.css go here */
}
- Change the
moz-extension://72c7e844-0d86-4359-b35e-ddf42525461b/onetab.htmlto the OneTab URL found in the first step
Enable legacy user profile customizations:
- Go to
about:config - search for
toolkit.legacyUserProfileCustomizations.stylesheets - If it doesn't say
true, click ⇌ to toggle it fromfalsetotrue
Thanks for creating this style!