MozillaZine

[ext] Private Tab (no restart)

Announce and Discuss the Latest Theme and Extension Releases.
Infocatcher

User avatar
 
Posts: 254
Joined: July 1st, 2007, 3:45 am

Post Posted February 20th, 2013, 11:13 pm

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. ©

Infocatcher

User avatar
 
Posts: 254
Joined: July 1st, 2007, 3:45 am

Post Posted March 13th, 2013, 3:57 am

This game has no name. It will never be the same. ©

Infocatcher

User avatar
 
Posts: 254
Joined: July 1st, 2007, 3:45 am

Post Posted March 17th, 2013, 8:13 am

This game has no name. It will never be the same. ©

Xetmes

User avatar
 
Posts: 631
Joined: December 7th, 2011, 8:54 am
Location: Poland/Germany

Post Posted March 19th, 2013, 5:53 am

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).

Xetmes

User avatar
 
Posts: 631
Joined: December 7th, 2011, 8:54 am
Location: Poland/Germany

Post Posted March 19th, 2013, 6:05 am

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.

Infocatcher

User avatar
 
Posts: 254
Joined: July 1st, 2007, 3:45 am

Post Posted March 19th, 2013, 9:41 am

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. ©

Xetmes

User avatar
 
Posts: 631
Joined: December 7th, 2011, 8:54 am
Location: Poland/Germany

Post Posted March 19th, 2013, 9:49 am

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 :)

Infocatcher

User avatar
 
Posts: 254
Joined: July 1st, 2007, 3:45 am

Post Posted March 19th, 2013, 1:09 pm

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. ©

Xetmes

User avatar
 
Posts: 631
Joined: December 7th, 2011, 8:54 am
Location: Poland/Germany

Post Posted March 19th, 2013, 1:51 pm

Perfect, working properly now.
If I find something I will let You know ;)

em28
 
Posts: 141
Joined: July 15th, 2008, 7:46 am

Post Posted March 20th, 2013, 2:24 pm

Does it have a toolbar button ? it can be handy.

Infocatcher

User avatar
 
Posts: 254
Joined: July 1st, 2007, 3:45 am

Post Posted March 21st, 2013, 3:49 am

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. ©

Infocatcher

User avatar
 
Posts: 254
Joined: July 1st, 2007, 3:45 am

Post Posted March 26th, 2013, 2:20 am

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. ©

Xetmes

User avatar
 
Posts: 631
Joined: December 7th, 2011, 8:54 am
Location: Poland/Germany

Post Posted March 27th, 2013, 6:39 am

Thanks for update, running smooth, no errors found till now :)

em28
 
Posts: 141
Joined: July 15th, 2008, 7:46 am

Post Posted March 27th, 2013, 1:44 pm

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 ?

Infocatcher

User avatar
 
Posts: 254
Joined: July 1st, 2007, 3:45 am

Post Posted March 28th, 2013, 6:04 am

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. ©

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 3 guests