[ext] Private Tab (no restart)

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
User avatar
Infocatcher
Posts: 257
Joined: July 1st, 2007, 3:45 am

[ext] Private Tab (no restart)

Post by Infocatcher »

Author: Infocatcher
Compatibility: Firefox 20.0a1+, SeaMonkey 2.17a1+
AMO: https://addons.mozilla.org/addon/private-tab/
Description:
Adds private tabs.
Works only in Gecko 20.0 and higher (Firefox 20.0+ and SeaMonkey 2.17+) because used API doesn't exist in older versions!

Firefox Nightly says “Warning: Only internal code is allowed to set the usePrivateBrowsing attribute”?
Say thanks to developers... and see https://bugzilla.mozilla.org/show_bug.cgi?id=800193

Please leave a review on AMO or comment given bug to vote for this functionality!
This game has no name. It will never be the same. ©
User avatar
Infocatcher
Posts: 257
Joined: July 1st, 2007, 3:45 am

Re: [ext] Private Tab (no restart)

Post by Infocatcher »

This game has no name. It will never be the same. ©
User avatar
Infocatcher
Posts: 257
Joined: July 1st, 2007, 3:45 am

Re: [ext] Private Tab (no restart)

Post by Infocatcher »

This game has no name. It will never be the same. ©
User avatar
Xetmes
Posts: 676
Joined: December 7th, 2011, 8:54 am
Location: Poland/Germany

Re: [ext] Private Tab (no restart)

Post by Xetmes »

Awesome addon, I was look for something like this.
Would be cool if we can add mask as default favicon for all pages instead underline ;) (possible option to switch).
User avatar
Xetmes
Posts: 676
Joined: December 7th, 2011, 8:54 am
Location: Poland/Germany

Re: [ext] Private Tab (no restart)

Post by Xetmes »

Possible bug: New privet tab is reading active loggin from cookies.
On forums like this You need to be logged in to check User profile.
Now STR>
Click Nick name with RMB.
Use option "open in new private tab"
You can see User profile.
Suppose not happen.
User avatar
Infocatcher
Posts: 257
Joined: July 1st, 2007, 3:45 am

Re: [ext] Private Tab (no restart)

Post by Infocatcher »

Xetmes wrote:Would be cool if we can add mask as default favicon for all pages instead underline ;) (possible option to switch).
You want override all icons for private tabs?
Unfortunately there is no easy way to do this compatible with all possible themes.
But you can use following style in userChrome.css or through Stylish: privateTabIcon.css (or privateTabIcon-SeaMonkey.css).

Xetmes wrote:Possible bug: New privet tab is reading active loggin from cookies.
Thanks, should be fixed by this commit.
This game has no name. It will never be the same. ©
User avatar
Xetmes
Posts: 676
Joined: December 7th, 2011, 8:54 am
Location: Poland/Germany

Re: [ext] Private Tab (no restart)

Post by Xetmes »

Infocatcher wrote:
Xetmes wrote:Would be cool if we can add mask as default favicon for all pages instead underline ;) (possible option to switch).
You want override all icons for private tabs?
Unfortunately there is no easy way to do this compatible with all possible themes.
But you can use following style in userChrome.css or through Stylish: privateTabIcon.css (or privateTabIcon-SeaMonkey.css).

Thanks, should be fixed by this commit.


Thanks for stylish code for Nightly, working like charm ;)

So I waiting for update with fix for cookies ;)
Awesome addon :)
User avatar
Infocatcher
Posts: 257
Joined: July 1st, 2007, 3:45 am

Re: [ext] Private Tab (no restart)

Post by Infocatcher »

Xetmes wrote:So I waiting for update with fix for cookies ;)

Private Tab 0.1.0b3: https://addons.mozilla.org/addon/private-tab/versions/0.1.0b3
This game has no name. It will never be the same. ©
User avatar
Xetmes
Posts: 676
Joined: December 7th, 2011, 8:54 am
Location: Poland/Germany

Re: [ext] Private Tab (no restart)

Post by Xetmes »

Perfect, working properly now.
If I find something I will let You know ;)
em28
Posts: 142
Joined: July 15th, 2008, 7:46 am

Re: [ext] Private Tab (no restart)

Post by em28 »

Does it have a toolbar button ? it can be handy.
User avatar
Infocatcher
Posts: 257
Joined: July 1st, 2007, 3:45 am

Re: [ext] Private Tab (no restart)

Post by Infocatcher »

em28 wrote:Does it have a toolbar button ? it can be handy.

Not yet, but you can watch https://github.com/Infocatcher/Private_Tab/issues/5 for progress.
This game has no name. It will never be the same. ©
User avatar
Infocatcher
Posts: 257
Joined: July 1st, 2007, 3:45 am

Re: [ext] Private Tab (no restart)

Post by Infocatcher »

Private Tab 0.1.0b4: https://addons.mozilla.org/addon/private-tab/versions/0.1.0b4


em28 wrote:Does it have a toolbar button ? it can be handy.

Added, see new version.
This game has no name. It will never be the same. ©
User avatar
Xetmes
Posts: 676
Joined: December 7th, 2011, 8:54 am
Location: Poland/Germany

Re: [ext] Private Tab (no restart)

Post by Xetmes »

Thanks for update, running smooth, no errors found till now :)
em28
Posts: 142
Joined: July 15th, 2008, 7:46 am

Re: [ext] Private Tab (no restart)

Post by em28 »

Infocatcher wrote:Private Tab 0.1.0b4: https://addons.mozilla.org/addon/private-tab/versions/0.1.0b4


em28 wrote:Does it have a toolbar button ? it can be handy.

Added, see new version.


well done. =D>
Now, can u change the icon color when on private tab ?
User avatar
Infocatcher
Posts: 257
Joined: July 1st, 2007, 3:45 am

Re: [ext] Private Tab (no restart)

Post by Infocatcher »

em28 wrote:Now, can u change the icon color when on private tab ?

I don't have such icons (needed 16x16 and 24x24). And can't draw good ones...

But there is template for userChrome.css/Stylish:

Code: Select all

#main-window[privatebrowsingmode] #privateTab-toolbar-openNewPrivateTab {
   list-style-image: url("chrome://privatetab/content/privacy-24.png") !important;
}
#main-window[privatebrowsingmode] toolbar[iconsize="small"] #privateTab-toolbar-openNewPrivateTab {
   list-style-image: url("chrome://privatetab/content/privacy-16.png") !important;
}


Or you can make icon for not private tab grayscale:

Code: Select all

#main-window:not([privatebrowsingmode]) #privateTab-toolbar-openNewPrivateTab > .toolbarbutton-icon {
   filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale");
   opacity: 0.8;
}
This game has no name. It will never be the same. ©
Post Reply