[Greasemonkey] GM-TNG - several bugs fixed

Aaron Boodman zboogs at gmail.com
Wed Jul 27 01:55:14 EDT 2005

* Incompatibility with HTML Validator (James)
* Read/write ness of propreties of global window (specifically location) (Lenny)
* JS error in file association warning (Mark)

As for the gmail delete script, it works fine for me in 1.0.x. In 1.1
it fails due to this:

window.foo = function() {

button.setAttribute("onclick", "window.foo()")

This has been mentioned tons of times, but you shouldn't do this. It's
bad style, it unecessarily polutes the window's namespace, and now,
it's no longer supported in Deer Park.

The correct way is:

function foo() {

button.onclick = foo;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: greasemonkey.xpi
Type: application/x-xpinstall
Size: 49681 bytes
Desc: not available
Url : http://mozdev.org/pipermail/greasemonkey/attachments/20050727/d665d8b0/greasemonkey-0001.bin

More information about the Greasemonkey mailing list