Hi Everyone, I have run into a bit of a headscratcher and I am stumped.
I have a javascript extension that runs in my HTML5 game to interface with a Google Chrome Extension called Unisat. It checks to see if the object 'window.unisat' is defined/available and if so it allows to interface with Unisat.
When I run the HTML5 build locally from GameMaker I have no issues and it works great!. However, when I upload to itch.io and run on browser, the script that reads 'typeof window.unisat'...
Issue with Javascript Extension reading Window object as 'undefined'
I have a javascript extension that runs in my HTML5 game to interface with a Google Chrome Extension called Unisat. It checks to see if the object 'window.unisat' is defined/available and if so it allows to interface with Unisat.
When I run the HTML5 build locally from GameMaker I have no issues and it works great!. However, when I upload to itch.io and run on browser, the script that reads 'typeof window.unisat'...
Issue with Javascript Extension reading Window object as 'undefined'