Playing sounds in MV3

178 views
Skip to first unread message

Uladzimir Yankovich

unread,
Aug 27, 2022, 8:14:38 AM8/27/22
to Chromium Extensions
Colleagues, could you tell me how this extension plays sounds without a visible window? 

https://chrome.google.com/webstore/detail/earthfm/hegkfpbbpfalefjgpbedmblfoelckcmb

Robbi

unread,
Aug 27, 2022, 3:10:30 PM8/27/22
to Chromium Extensions, yankovic...@gmail.com
If you  look carefully you'll see a small window in the upper left corner.
The purpouse of this window is to reproduce the sound in case the extension popup is closed.
Anyway the extension popup can play the sound without the help of additional windows. (as long as it's open of course)

Uladzimir Yankovich

unread,
Aug 28, 2022, 3:02:31 PM8/28/22
to Chromium Extensions, Robbi, Uladzimir Yankovich
Oh, right, I checked on my windows laptop and saw the window. Oh my god, that's horrible :(

Alexander Harding

unread,
Aug 31, 2022, 1:24:24 PM8/31/22
to Chromium Extensions, yankovic...@gmail.com, Robbi
Wow that's a horrible hack but thanks for sharing. On MacOS it looks like there's no window at all but I actually found it in the desktop switcher LMAO mv3 is such a shit show

Robbi

unread,
Aug 31, 2022, 4:18:54 PM8/31/22
to Chromium Extensions, aeha...@gmail.com, yankovic...@gmail.com, Robbi
I did some tries with offScreen document api in Canary and I hadn't any problems.
I tryed with DOMParsing, sound playback and alert with good results.

Uladzimir Yankovich

unread,
Aug 31, 2022, 4:22:14 PM8/31/22
to Chromium Extensions, Robbi, aeha...@gmail.com, Uladzimir Yankovich
Excuse me, where can I find documentation on this API? Does it require some kind of permission? Does this permission cause existing installations to be disabled?

Robbi

unread,
Aug 31, 2022, 4:57:54 PM8/31/22
to Chromium Extensions, yankovic...@gmail.com, Robbi, aeha...@gmail.com
This is the direct link to the thread:  LINK
Remember,  you have to create a browser shortcut to Chrome Canary with command line switch   --enable-features=ExtensionsOffscreenDocuments

Uladzimir Yankovich

unread,
Aug 31, 2022, 5:14:11 PM8/31/22
to Chromium Extensions, Robbi, Uladzimir Yankovich, aeha...@gmail.com
Thank you! It looks great. I hope we get this in 2023 :)

Robbi

unread,
Aug 31, 2022, 5:31:38 PM8/31/22
to Chromium Extensions, yankovic...@gmail.com, Robbi, aeha...@gmail.com
I hope so too and, if there were no technical times, I hope that alternatively Big G has the good taste to postpone the migration timeline. (taboo topic, perhaps more than plandemic)
Reply all
Reply to author
Forward
0 new messages