kiwibrowser / src.next

Source-code for Kiwi Next, a Kiwi Browser auto-rebased with latest Chromium
BSD 3-Clause "New" or "Revised" License
2.2k stars 281 forks source link

Extensions not working in custom tabs #619

Open Dillusional opened 2 years ago

Dillusional commented 2 years ago

Describe the bug Extensions seem to be not working in custom tabs, but work normally in normal tabs, so far tried with the popular extensions: ublock origin and dark reader

To Reproduce Open any link in custom tab from another app

Expected behavior Custom tabs should work with extensions

Screenshots As you can see, dark reader not working unknown-5~2

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

kyoyacchi commented 2 years ago

You use dark reader?

Dillusional commented 2 years ago

You use dark reader?

Yes as i mentioned in the post

ElDani82 commented 1 year ago

I stumbled across this problem as well, but it's definitely not a general "extensions not working in custom tab" issue.

In fact, I've been successfully running my own userscripts via Tampermonkey for a while now and they all work fine. This problem only started occurring after I installed uBlock Origin and the Dark Reader both of which are not working in custom tabs.

It seems impossible to debug as a mere user, because the custom tab is exactly that: a single tab. This makes extension pages refer to themselves, which doesn't produce any useful information.

I still noticed something peculiar though. When the full Kiwi app is opened in the background, any uBlock Origin pop-up opened from within the custom tab will refer to the domain of the tab that is currently active in the app. When the app is closed, it will instead refer to itself, I assume because it's the current url of the only Kiwi tab.

Z2F0 commented 1 year ago

I too have this issue, however, some extensions do not work outright and others are broken. It's also an issue when you select "Install App" option to have the webpage open as a separate home screen app.

Z2F0 commented 1 year ago

From what I can tell the issue arises when the webpages are opened in this interface rather than the native browser app.

Screenshot_20221123_094934_Kiwi Browser Screenshot_20221123_094929_Kiwi Browser