thunder icon indicating copy to clipboard operation
thunder copied to clipboard

Incognito link browsing

Open jgeorgeson opened this issue 2 years ago • 5 comments

Describe the solution you'd like It appears the default, internal browser for links is Chrome Custom Tabs. I would like to have an option to make these Incognito Custom Tabs.

Describe alternatives you've considered Copy the link and manually open Chrome incognito window and paste the link.

Additional context Add any other context or screenshots about the feature request here.

jgeorgeson avatar Oct 27 '23 21:10 jgeorgeson

It looks like this is not a native feature of flutter_custom_tabs. We'd have to see if there's a way to share to the browser as incognito, perhaps via an intent on Android.

Another option would be to revive our in-app browser, which wouldn't share history with any installed browser.

micahmo avatar Oct 28 '23 03:10 micahmo

Custom tabs will try to use whatever browser you have set to default that supports it.

With firefox at least you can make it use incognito tabs for this with a setting in firefox.

Settings>Private Browsing>Open links in a private tab

Perhaps Chrome has an equivalent setting?

CTalvio avatar Oct 31 '23 04:10 CTalvio

I've looked a little bit into this and like @micahmo mentioned, there is no native way to handle incognito from the package we're using.

However, it is possible to get incognito mode to work on Chrome custom tabs if we fork the package and add some custom logic to it. We can attempt to make a feature request in the package's GitHub and see if the author is willing to add this in.

hjiangsu avatar Oct 31 '23 05:10 hjiangsu

@jgeorgeson How do you feel about the solution in #1046 of using the in-app browser? Since it's not tied to any of your system browsers, the history won't be stored anywhere. And of course, you can always open the page in your system browser if you want to. Would that solve your use-case?

micahmo avatar Feb 07 '24 18:02 micahmo

@micahmo that would be fine with me.

jgeorgeson avatar Feb 07 '24 18:02 jgeorgeson