[ext] Private Tab (no restart)

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

Re: [ext] Private Tab (no restart)

Post by Infocatcher »

Xetmes wrote:Hi, can You pleas post some dev build? Thanks :)

Never mind, I was able to download and repack Your addon from Github, working fine again :D
Great. :)
Anyway, I've already posted dev build: https://github.com/Infocatcher/Private_ ... -171193674
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. ©
zlew
Posts: 5
Joined: October 19th, 2014, 7:06 am

Re: [ext] Private Tab (no restart)

Post by zlew »

Hello, I apologise for this request but since the developer of https://addons.mozilla.org/en-GB/firefo ... o-private/ has disappeared is it possible to integrate this somehow into Private Tab so it works with e10s? Your 1.9.1.2pre addon seems to work almost perfectly with e10s on FF 49.0a1, Auto Private does not.

Alternatively if this is not possible could there be a switch to automatically open any clicked link in a private tab (instead of right click>open in private tab)?
Springtime
Posts: 68
Joined: November 8th, 2013, 8:59 pm

Re: [ext] Private Tab (no restart)

Post by Springtime »

Since v49 of Firefox (running the developer build) I've noticed private mode (both tabs and windows) disable Javascript, even though all scripts are enabled in NoScript and work fine outside of private mode.

Examples: Google redirects to the non-JS version of the site across its different services when in private mode, while other sites like nexusmods.com display the 'You have Javascript disabled' banner.

Any idea what changed in v49 or what may be conflicting in the new version? Could it be that there are new changes to private mode and NoScript isn't detecting the tabs correctly?
User avatar
Xetmes
Posts: 676
Joined: December 7th, 2011, 8:54 am
Location: Poland/Germany

Re: [ext] Private Tab (no restart)

Post by Xetmes »

Looks like, PT stops working in today Nightly :(
User avatar
Infocatcher
Posts: 257
Joined: July 1st, 2007, 3:45 am

Re: [ext] Private Tab (no restart)

Post by Infocatcher »

Xetmes wrote:Looks like, PT stops working in today Nightly :(
I see... Also reported here with some details: https://forum.mozilla-russia.org/viewto ... 58#p720358
Now doesn't work things like

Code: Select all

var o = {
	get windows() {
		var ws = Services.wm.getEnumerator("navigator:browser");
		while(ws.hasMoreElements())
			yield ws.getNext();
	}
};
for(var window in o.windows)
	alert(window.document.title);
SyntaxError: non-generator method definitions may not contain yield
There is modern generator functions, but may be a generator getter isn't possible anymore. It's easy to rewrite, but alternatives are much less useful...
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 response, are You able to fix this? Or Mozilla killed Your great extension?
User avatar
Infocatcher
Posts: 257
Joined: July 1st, 2007, 3:45 am

Re: [ext] Private Tab (no restart)

Post by Infocatcher »

Xetmes wrote:Thanks for response, are You able to fix this? Or Mozilla killed Your great extension?
It's not so easy to really kill. :)
https://github.com/Infocatcher/Private_Tab/issues/228
So, for now I see 3 ways to fix. :D
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 »

Working fine again :) Awesome.
User avatar
Infocatcher
Posts: 257
Joined: July 1st, 2007, 3:45 am

Re: [ext] Private Tab (no restart)

Post by Infocatcher »

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

With fully supported (oh, I hope...) multi-process mode (Electrolysis aka e10s).
This game has no name. It will never be the same. ©
pintassilgo
Posts: 200
Joined: August 30th, 2013, 3:50 pm

Re: [ext] Private Tab (no restart)

Post by pintassilgo »

https://github.com/Infocatcher/UserStyl ... abIcon.css

Seems that it isn't working... no mask icon:
Image
User avatar
Infocatcher
Posts: 257
Joined: July 1st, 2007, 3:45 am

Re: [ext] Private Tab (no restart)

Post by Infocatcher »

pintassilgo wrote:https://github.com/Infocatcher/UserStyl ... abIcon.css

Seems that it isn't working... no mask icon:
Image
Oh, this is due to removed chrome://browser/skin/Privacy-16.png
Corrected: https://github.com/Infocatcher/UserStyl ... 600403bb62
Also now there is alternative icon:

Code: Select all

list-style-image: url("chrome://browser/skin/privatebrowsing/favicon.svg") !important;
This game has no name. It will never be the same. ©
seed
Posts: 2
Joined: September 25th, 2016, 3:35 pm

Re: [ext] Private Tab (no restart)

Post by seed »

Hi Infocatcher,

Is there an easy way to change the behaviour of a click (in a non-private tab) so that the link opens in a new private tab by default?

Thanks
User avatar
Infocatcher
Posts: 257
Joined: July 1st, 2007, 3:45 am

Re: [ext] Private Tab (no restart)

Post by Infocatcher »

seed wrote:Is there an easy way to change the behaviour of a click (in a non-private tab) so that the link opens in a new private tab by default?
Hmm... It's possible to make tab private without reloading (and then all tabs from that tab will be opened as private) using middle-click on "Private Tab" checkbox in tab context menu (or with extensions.privateTab.toggleTabPrivateAutoReload = false in about:config to invert this behavior).

Also there is ability (for some another extension like Custom Buttons) to open all new tabs as private:
https://github.com/Infocatcher/Private_ ... toopentabs
Something like following (for Custom Buttons):

Code: Select all

var makePrivate = this.checked = privateTab._openNewTabsPrivate === undefined;
if(makePrivate)
	privateTab.readyToOpenTabs(true);
else
	privateTab.stopToOpenTabs();
This game has no name. It will never be the same. ©
Post Reply