Last active
June 7, 2018 09:58
-
-
Save Arty2/4658f49ca815980b0cb2 to your computer and use it in GitHub Desktop.
Firefox CSS to colorize private tabs. Use with Stylish or userChrome.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
private-tabs.css | |
https://gist.github.com/Arty2/4658f49ca815980b0cb2 | |
*/ | |
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
#main-window[privatebrowsingmode=temporary] #urlbar { | |
border-color: #841ebe !important; | |
background-color: #841ebe !important; | |
color: #fff !important; | |
} | |
#main-window[privatebrowsingmode=temporary] .tabbrowser-tab[selected] { | |
background: #841ebe !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello.
Is there a way to have userChrome.css (or an accompanying userChrome.js) detect whether the page loaded in a tab is secure (HTTPS)?
Thank you.