Disable the top-left Icon?
Is there a way to disable this programmatically?
I want to hide the fact that a tab is in private browsing mode, but I do not want to alter your addon (I use your addon's api directly from my extension).
EDIT: It would also be nice to have the ability to disable the underlining on a private tab.
Oh, many things to change... This is built-in browser styles for #main-window[privatebrowsingmode="temporary"] + "titlemodifier" attribute on the same root node. And "privateTab-isPrivate" on tabs, which should be always here for nsISessionStore-related patches.
But may be possible (theoretically) to check for some tab attribute to show tab as not private.
@kainsavage If you do arrange a way, it'd probably be a good idea to make it optional. I value avoiding data loss more than perfect HistoryBlock secrecy and I do periodically restart my browser to force unused tabs back to their unloaded state. (Both for memory reasons and to suspend their Javascript execution)
(I've actually made private tabs even more obvious using the privateTabOverlayIcon.css example so I can check them all at a glance)
Here requested ability to leave only underline on private tabs: http://forums.mozillazine.org/viewtopic.php?p=12830195#p12830195
I added extensions.privateTab.usePrivateWindowStyle preference to not set "privatebrowsingmode" attribute (and disable private window-like styles). By default used old behavior.
Also this is easiest way to deal with
#main-window[privatebrowsingmode=temporary] #TabsToolbar::after {
content: "";
display: -moz-box;
width: 40px;
background: url("chrome://browser/skin/privatebrowsing-indicator.png") no-repeat center center;
}
from chrome://browser/skin/browser.css in Firefox 29.0a1 (at least on Windows 7).