Fenix: Add an option to disable Custom Tabs and just open the browser directly

Created on 24 Sep 2019  ·  7Comments  ·  Source: mozilla-mobile/fenix

Why/User Benefit/User Problem

When I open web pages from another app (for example, LinkedIn -- it doesn't seem to happen for all apps), I get what appears to be a Fenix web view in a limited, app-specific chrome. Since this looks a lot like built-in Chrome web views, which I would like to avoid to keep all my browsing in a single browser, I would prefer to always get the full Fenix chrome.

What/Requirements

Add a way to disable the web view activity in favor of full chrome.

Acceptance Criteria (how do I know when I’m done?)

CustomTabs feature request 🌟

Most helpful comment

The only change is the toolbar looks different.

FYI there is an "Open in Firefox Preview" button in the custom tab overflow menu, so there's an easy way to get the full experience.

But you can't get full advantages of android multitasking with custom tab. For example, when I open some long-read article in reddit through a link, i can't just return back (there's only 'close button' and android 10 gestures for switching between apps doesn't work, because it's still the same app) to reddit app without loosing browser context (like scroll position). At first i need to make two taps to open full browser, why i need this?

So, i don't see any advantages of Custom Tabs, but see disadvantages. That's only reason why i switched from Chrome to FF, because FF has an option to disable CT.

All 7 comments

That limited view is called a Custom Tab. It's for apps that want to look like a page is opened in the app, without using a limited webview. These are actually powered using Firefox Preview and you'll get shared cookies, history, etc. The only change is the toolbar looks different.

FYI there is an "Open in Firefox Preview" button in the custom tab overflow menu, so there's an easy way to get the full experience.

I guess I'd feel more comfortable with them if there was some clearer Firefox branding, but I'd still prefer to be able to opt-out of the use of Custom Tabs.

Another problem, but I don't know if it's a bug or a "feature" is that in custom tabs uBlock Origin (and I suppose addons in general) does not work.

The only change is the toolbar looks different.

FYI there is an "Open in Firefox Preview" button in the custom tab overflow menu, so there's an easy way to get the full experience.

But you can't get full advantages of android multitasking with custom tab. For example, when I open some long-read article in reddit through a link, i can't just return back (there's only 'close button' and android 10 gestures for switching between apps doesn't work, because it's still the same app) to reddit app without loosing browser context (like scroll position). At first i need to make two taps to open full browser, why i need this?

So, i don't see any advantages of Custom Tabs, but see disadvantages. That's only reason why i switched from Chrome to FF, because FF has an option to disable CT.

I agree. I have no interest in opening webpages in a more basic version of the browser. You can see numerous other feature requests in this tracker about adding features that already exist in the browser to custom tabs. Personally I an very confused what the advantages are. I think the one advanted I saw was faster loading, but if that is the only advantage then it seems like a better option is to provide a custom tabs shim that preloads in the full browser.

But that is all besides the point. If the user prefers the full browser they should have the option to use it. (Just like Fennic provides today)

FYI, not directly dealing with Custom Tabs vs standard pages, but still, we have somehow a similar problem between PWA and page shortcuts on the phone's homescreen: https://github.com/mozilla-mobile/fenix/issues/7758

This issue is the primary reason I downgraded to Firefox for Android 68 where I still have the option to disable CT (another major reason was many of my add-ons are incompatible). I see no advantage to CT but several disadvantages, including privacy implications from add-ons not working and crippling the concept of multi-tasking, which is an Android feature I use all the time. This makes me miss using Xposed and the ActivityForceNewTask module which solved this problem for all apps.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phileastv picture phileastv  ·  3Comments

csadilek picture csadilek  ·  3Comments

vesta0 picture vesta0  ·  3Comments

thelazyoxymoron picture thelazyoxymoron  ·  3Comments

csadilek picture csadilek  ·  3Comments