by DaledeSilva » Fri Jul 21, 2023 10:21 am
I found in
this documentation that I can use window.whenReady(callback) to know when MM and all scripts are loaded, however, I'm trying to attack some app.listener events and I'm getting errors
Code: Select all
mminit.js:2558 Uncaught Error: addEventListener function not found! Event change
at Object.app.listen (mminit.js:2558:26)
Is there another event I can hook into to know when it's safe to start setting up my script?
Thanks

Dale.
I found in [url=https://www.mediamonkey.com/wiki/Important_Methods_and_Utilities_%28Addons%29#whenReady]this documentation[/url] that I can use window.whenReady(callback) to know when MM and all scripts are loaded, however, I'm trying to attack some app.listener events and I'm getting errors
[code]
mminit.js:2558 Uncaught Error: addEventListener function not found! Event change
at Object.app.listen (mminit.js:2558:26)
[/code]
Is there another event I can hook into to know when it's safe to start setting up my script?
Thanks :)
Dale.