Cynosure.X International LLC

: :

Add Comment | Related Links | TrackBack
Related Content

GM_log is not a function

After first hearing about Greasemonkey when I wrote about Real-Estate MLS Listing Hack I have been wanting to get started on programming with it. Since then, Greasemonkey is now up to verion 0.3.5. Mark Pilgrim's free Dive Into GreaseMonkey book is, of course, very helpful when I dove into it today. It mentioned a GM_log function that sound like an excellent way to get some output on the screen. But when I tried it, I got the following message in JavaScript Console:

GM_log is not a function.

What the heck!?

After quite a bit of digging, I finally found a web page called, "XMLHttpRequest Tracing" for AJAX debugging. It claims that the GM_* functions have been removed due to security reasons as of 0.3.5. Quite an unfortunate turne of event, because GM_log would have been so helpful in debugging . . .

Chieh Cheng
Tue, 26 Jul 2005 16:39:41 -0700

I just installed Greasemonkey 0.6.4 on Firefox 1.5.0.1. The GM_log function is now working again. With the debug capability of the GM_log function, I see myself learning Greasemonkey a lot faster.

Chieh Cheng
Wed, 15 Mar 2006 17:49:26 -0800

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 4 + 5?
Click button only once, please!

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

121 Users Online

Hacking Digital Cameras
Fun for Photographers



Amazon Associate

Copyright © 1996 - 2024. All Rights Reserved.