Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Greasemonkey does not work on Firefox #9

Open
coryshaw1 opened this issue Jun 22, 2018 · 1 comment
Open

Greasemonkey does not work on Firefox #9

coryshaw1 opened this issue Jun 22, 2018 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@coryshaw1
Copy link
Owner

The @run-at header of the userscript file just does not want to work with Greasemonkey on Firefox. Tampermonkey on Firefox works fine.

If you're having issues with this now, please use TamperMonkey for the time being!

@coryshaw1 coryshaw1 added bug Something isn't working help wanted Extra attention is needed labels Jun 22, 2018
@coryshaw1 coryshaw1 changed the title Greasemonkey does not work Greasemonkey does not work on Firefox Jun 22, 2018
@Exagone313
Copy link

Exagone313 commented Jun 22, 2018

By changing the @run-at to document-start, in console it says ReferenceError: CEnemy is not defined.
Tampermonkey is proprietary, unlike GreaseMonkey...

EDIT: This is because, at document-start, no other script is loaded, so the CEnemy function is not yet created.

EDIT2: I added a (dirty) setTimeout around the global function, to wait for the load, and now when the function loads I get:

Error: Permission denied to access object
pixi.min.js:16:16031
t/this._tick
https://steamcommunity-a.akamaihd.net/public/javascript/saliengame/pixi/pixi.min.js:16:16031

Too bad I don't have a backtrace in Firefox dev tools...

EDIT3: I copied the whole script in the console, and it works unless it reloads!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants