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

GM_notification bug #1271

Closed
KOLANICH opened this issue Jan 28, 2011 · 6 comments
Closed

GM_notification bug #1271

KOLANICH opened this issue Jan 28, 2011 · 6 comments

Comments

@KOLANICH
Copy link

uncaught exception: [Exception... "'ReferenceError: GM_notification is not defined' when calling method: [gmIMenuCommand::doCommand]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "JS frame :: chrome://browser/content/browser.xul :: oncommand :: line 1" data: no]

Line 0

@arantius
Copy link
Collaborator

Firefox version? Greasemonkey version? OS? What causes this?
http://wiki.greasespot.net/Greasemonkey_Manual:Getting_Help#What_to_Say

@KOLANICH
Copy link
Author

firefox 4 beta 10
ubuntu linux 10.04
gm 9.1 (tryed both stable and beta)
calling GM_notification causes error because it is not defined
maybe i need to add
loader.loadSubScript("chrome://greasemonkey/modules/GM_notification.js");

@arantius
Copy link
Collaborator

I'm still very unclear what you mean. What are you doing that is causing this error?

@KOLANICH
Copy link
Author

simply using GM_notification in my script

@arantius
Copy link
Collaborator

Well then, that explains it. There is no GM_notification API for scripts. There is already a feature request to add it: #1194

As it exists today, it is an internal only tool used for notifications. The point is that the feature it replaced depended on the status bar, which is going away in Firefox 4. It is, currently, no more than that.

@KOLANICH
Copy link
Author

what about notifications in ff 4 style?

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants