Open sijanec opened 3 years ago
Diagnosis (not resolution): The crash is because of the window that asks the permission for additional permission doesn't exist in Kiwi. On Chromium Desktop this is a balloon-type notification with a confirm dialog.
I used SponsorBlock until recently (last week) by manually enabling the permissions from chrome://extensions, and it worked fine with Invidious websites. Now, even with the permissions manually granted, I still crash when enabling the "Support 3rd Party YouTube Sites" toggle.
I made and issue for SponsorBlock here: https://github.com/ajayyy/SponsorBlock/issues/1656#issue-1560880569
Are there any plans to fix this? Are permissions requests not going to be supported by Kiwi?
For reference, requesting permissions via this method:
await chrome.permissions.request({
origins: ['*://*/*'],
})
Fails in both the Popup and Options Page with the error:
Uncaught (in promise) Error: Could not find an active window.
Related Docs: https://developer.chrome.com/docs/extensions/reference/api/permissions
Extension SponsorBlock (from Chrome webstore) will crash the Kiwi Browser app when flipping the switch to enable third party YouTube frontend or adding a third party YouTube frontend domain.
I assume this is because asking for control over another domain inside an extension is not possible under Chromium for Android.