Page 1 of 1

Open URL in private tab in Firefox

Posted: 18 Jul 2020 05:39
by zeroize
I have a flow to detect captive portals and open example.com to login. I prefer to open the URL in a private tab. I'm using Firefox latest version 68.10.1.

People do it with tasker and Firefox has an intent for it.
https://www.reddit.com/r/tasker/comment ... ng_intent/
https://bugzilla.mozilla.org/show_bug.cgi?id=1347583

I don't know what to put in Extras to make it work. It always opens the URL in a normal tab. Tank you.

Re: Open URL in private tab in Firefox

Posted: 18 Jul 2020 16:43
by Desmanto
Action Start Activity
Action : android.intent.action.VIEW
Data URI : https://www.google.com
Explicit Component : Tick
Package Name : org.mozilla.firefox
Class Name : (leave blank)

Extras :

Code: Select all

putBoolean("is_private_tab", true)
I just know firefox support this kind of intent. Using Chrome, there is no way to trigger it like this without using Control UI. I have to launch the chrome normally and then use Control UI to click on 3 dot menu and New incognito tab.

Re: Open URL in private tab in Firefox

Posted: 19 Jul 2020 05:31
by zeroize
Thank you very much. I had to tweak it a little.

Extras: putBoolean("private_tab", true)
Class: org.mozilla.gecko.BrowserApp

Final working flow attached.