I created a "Hello World" Greasemonkey script in Firefox that contains only one line of code:
GM_log("Hello World");
This did not seem to function, at least it did not produce any results in my firebug console.
Same thing with other GM _... features like GM_wait
When I replaced:
GM_log("Hello World");
with:
alert("Hello World")
it worked (so the script headers are not a problem).
I also set the following options about:configto true:
javascript.options.showInConsoleextensions.firebug.showChromeErrorsextensions.firebug.showChromeMessages
Are there any other settings for changing GM _... functions to work in Greasemonkey scripts?
Do I need to change other firebug parameters for GM_log messages to display in the firebug console?
source
share