Infocatcher
Infocatcher
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 ``` css #main-window[privatebrowsingmode=temporary]...
IIRC, without unique ids Firefox won't update hints after labels of menu items (may be only in old Firefox versions or only in Mac OS). Anyway, due to limitations of...
> I have over 50 add-ons and I'm in the process of finding addons that are causing trouble. You can create copy of your profile and then remove extensions from...
I'll try to implement this. But it's difficult to implement "Open All in Private Tabs" because I'm reuse some built-in code and need to know target browser window (currently I...
Yet another trick. You can use following code to open Library in "popup" window (this is separate browser window with only one tab, but all toolbars are hidden): ``` js...
Probably this is something expected... There is _extensions.privateTab.makeNewEmptyTabsPrivate_ preference https://github.com/Infocatcher/Private_Tab/blob/0.1.7.3/defaults/preferences/prefs.js#L36-L40 And some tricks to detect new empty tabs: https://github.com/Infocatcher/Private_Tab/blob/0.1.7.3/bootstrap.js#L2998 So, if opened URI looks non-empty, tab inherits private state from...
Should work already: ``` js window.addEventListener("TabClose", function onTabClose(e) { window.removeEventListener(e.type, onTabClose, false); // Let's imagine, that this is last tab in window privateTab.readyToOpenTab(false); gBrowser.addTab("about:"); }, false); gBrowser.removeTab(gBrowser.selectedTab); ``` But for...
> if user set makeNewEmptyTabsPrivate to -1 or 1 i don't think i need to change the tab privacy Yes, I agree. > if (privateTab.isTabPrivate(tab) && Services.prefs.getIntPref("extensions.privateTab.makeNewEmptyTabsPrivate") == 0) >...
Yes, this looks correct. But also may be non-private tabs in private window (and new tabs should becomes private by default). So, `&& privateTab.isTabPrivate(selectedTab)` may be just removed. Or something...