coryshaw1 / saliens-hack

Hack for Sailens, the game of Steam Summer Sale 2018 - AutoSelect Planet, Invincibility, and InstaKill
MIT License
106 stars 31 forks source link

Not Working on Firefox #7

Closed pepe1987 closed 6 years ago

pepe1987 commented 6 years ago

ReferenceError: unsafeWindow is not defined

Please revert https://github.com/coryshaw1/saliens-hack/issues/3

coryshaw1 commented 6 years ago

You have to use a userscript extension for the unsafeWindow to work. Please follow the installation instructions from the readme. If you don't want to use an extension, you'll have to manually remove unsafeWindow.requestAnimationFrame = c => { setTimeout(c, 1000 / 60); }; from the script yourself

Wiethoofd commented 6 years ago

Why not add if(unsaveWindow) before the line setting the requestAnimationFrame?

coryshaw1 commented 6 years ago

Would help the reports haha, good call!

pepe1987 commented 6 years ago

I am using Tampermonkey, I made it work by setting 10 seconds, maybe my internet connection an my pc are not the best.

I am closing this for now.

Thanks!