Vivaldi extension - browser detect ?
-
@luetage and that's a bug I guess?
-
@zakius What is a bug?
-
@doctorg inability to run extensions, that can't be intentional after all
-
@zakius Vivaldi has some broken extensions, not nice, yes.
-
@bhttbogal4r41zv5lj I can confirm the issue with test case vivaldi-webrequest-demo-v3.zip on Vivaldi Pre-Stable 4.2.2406.28 and added to bug tracker
-
@bhttbogal4r41zv5lj My idea to fix missing browser detection: fetch request from vivaldi.com or echo.vivaldi.com and check the user-agent http header
For vivaldi.com the HTTP header says for 4.2 Pre-Stable:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.69 Safari/537.36 Vivaldi/4.2.2406.28
-
@doctorg Very smart! That would require the webRequest API and permissions for vivaldi.com tho. Didn't test yet but vivaldi.com might even be added to a list of exceptions the extension is not allowed to touch.
-
The sample extension and more info about the issue can now also be found here:
https://github.com/carlosjeurissen/webext-tech-demo-extensions/tree/main/issues/vivaldi-82634-webrequest-for-frames-in-popup -
-