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
Url: github.com/...user.js - error in the Browser Console #1998
Comments
Some additional information so that I don't forget it:
I'd say number 1 and 2 are definitely unnecessary: Instead of calling the completion handler explicitly in Unless someone objects to this or has a better idea, I'll send a patch with these two changes. PS: In my opinion, the whole script installation process might need some refactoring, as all these callbacks make the code very hard to follow. I understand that script installation is an inherently asynchronous process, but I think by dividing up the responsibilites a bit cleaner, the code can maybe be simplified a bit. |
Ventero@92cbf36 should fix this issue. I tested the following cases with this patch, which were all handled fine:
Additionally, Ventero@b8a0936 fixes a small issue with an XPCOM status check. |
This fix is now included in version 3.1beta1. Please browse to Greasemonkey's AMO page and open "Development Channel" near the bottom to install the beta version. Can you confirm the fix? Thank you. |
Unfortunately, there is still something wrong. Example: |
Moving to 3.2 to fix whatever bits remain. |
Ah I totally missed one detail! So https://developer.mozilla.org/en-US/Firefox/Multiprocess_Firefox/Frame_script_environment says " docShell The nsIDocShell associated with the browser". And https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIDocShell#loadURI says there's a |
Example:
https://github.com/w35l3y/userscripts/blob/master/scripts/Neopets_Price_Checker/112692.user.js
Browser console:
#1875 (comment)
(line 278)
The text was updated successfully, but these errors were encountered: