by drakinite » Tue Aug 15, 2023 1:01 am
Hey, sorry for the delayed reply. Where are you putting the code?
I often prefer to test code in the bundled Chromium developer console. If you install a
debug build, you can right click anywhere and click Inspect Element, giving you access to the console.
If you don't see a toast message, then that means your code just isn't running. I copied and pasted it into the console just now, and it works as expected for me. Have you verified that the test addon you created shows up in Tools -> Addons after you installed it?
Hey, sorry for the delayed reply. Where are you putting the code?
I often prefer to test code in the bundled Chromium developer console. If you install a [url=https://www.mediamonkey.com/forum/viewtopic.php?f=6&t=86639&sd=d]debug build[/url], you can right click anywhere and click Inspect Element, giving you access to the console.
If you don't see a toast message, then that means your code just isn't running. I copied and pasted it into the console just now, and it works as expected for me. Have you verified that the test addon you created shows up in Tools -> Addons after you installed it?