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.
Open URL in private tab in Firefox
Moderator: Martin
Open URL in private tab in Firefox
Last edited by zeroize on 19 Jul 2020 05:36, edited 1 time in total.
Re: Open URL in private tab in Firefox
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 :
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.
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)
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.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Open URL in private tab in Firefox
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.
Extras: putBoolean("private_tab", true)
Class: org.mozilla.gecko.BrowserApp
Final working flow attached.
- Attachments
-
- flow_PrivateTab.xml
- (1.53 KiB) Downloaded 754 times