Quantcast
Channel: Tech Support
Viewing all articles
Browse latest Browse all 1679

Issue with Javascript Extension reading Window object as 'undefined'

$
0
0
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'

Viewing all articles
Browse latest Browse all 1679

Trending Articles