Vivaldi extension - browser detect ?
-
Reported again. This time as desktop issue. Including the link to the demo.
Bug report id: VB-82634 -
@bhttbogal4r41zv5lj Thanks a lot.
-
@DoctorG Thank you! Let me know if I can provide any more useful information. This bug is basically breaking most functionality of Black Menu for Google in Vivaldi. An extension with over half a million of users.
-
@bhttbogal4r41zv5lj I can not reproduce the issue with the extension with Vivaldi 4.1 Stable, 4.2 Snapshot and 4.2 Nightly (Win 10 21H2).
For me the popup shows this (same as on Chromium 93):
-
@bhttbogal4r41zv5lj said in Vivaldi extension - browser detect ?:
Seems example.com now also handles example.com/wiejfaoiwejfow.
I've updated the demo to v3, found here:
https://static.jeurissen.co/vivaldi-webrequest-demo-v2.zipAs you can see, in chrome it goes to example.com. While in Vivaldi it stays on error.com.
let me know if I can provide you with anything else!
-
@bhttbogal4r41zv5lj said in Vivaldi extension - browser detect ?:
I've updated the demo to v3, found here:
https://static.jeurissen.co/vivaldi-webrequest-demo-v2.zipI gonna check this now.
-
@doctorg said in Vivaldi extension - browser detect ?:
Should be version 3 like this:
https://static.jeurissen.co/vivaldi-webrequest-demo-v3.zip -
@bhttbogal4r41zv5lj
I try.
Thanks for the test case!I confirm the issue in bug tracker and added the correct extension test case.
The webrequest fails for Vivaldi 4.1 Stable, 4.2 Snapshot and 4.2.2408.* Nightly.
Works in Chromium 92 and 95 Dev. -
@DoctorG Thanks for confirming. Let me know if I can be of any assistance going from here!
-
@bhttbogal4r41zv5lj said in Vivaldi extension - browser detect ?:
@DoctorG Thanks for confirming. Let me know if I can be of any assistance going from here!
You will get a reply by mail if there are more questions from devs.
I hope they will fix it.Broken Extensions API in Vivaldi is not nice.
-
@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 -
-