Open URL in private tab in Firefox

Post your questions and help other users.

Moderator: Martin

Post Reply
zeroize
Posts: 2
Joined: 16 Jul 2020 06:12

Open URL in private tab in Firefox

Post by zeroize » 18 Jul 2020 05:39

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.
Last edited by zeroize on 19 Jul 2020 05:36, edited 1 time in total.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Open URL in private tab in Firefox

Post by Desmanto » 18 Jul 2020 16:43

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.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

zeroize
Posts: 2
Joined: 16 Jul 2020 06:12

Re: Open URL in private tab in Firefox

Post by zeroize » 19 Jul 2020 05:31

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.
Attachments
flow_PrivateTab.xml
(1.53 KiB) Downloaded 754 times

Post Reply