[Greasemonkey] New GM_ function request.

Nikolas Coukouma lists at atrus.org
Wed Aug 24 13:18:45 EDT 2005

Adam Judson wrote:

>Okay, scratch that, I figured it out.
>That solution is MUCH better.  So can I talk someone into putting this in?
>Locally I implemented it as:

>if I didn't use setTimeout, the GM_BrowserUI var was always undefined,
>probably to do with the ordering of overlays into browser.xul, but I'm
>not sure.
>I'm not sure I understand the restrictions that running inside the
>sandbox creates, are there
>things that won't work inside my functions?
I'm pretty busy at the moment, but I'll try to look at this soon. How
about you add yourself to the CC list for the bug[1] and attach a patch

If you checked out the source using cvs, run
cvs diff -ubw
I think most CVS GUIs (e.g. TortoiseCVS) can do that. If you just have
two directories, you can do
diff -rubw original/ altered/

The patch form is standard and more readable. I tossed my preffered
options (unified format, ignore whitespace changes), but they're not
terribly important.

[1] http://mozdev.org/bugs/show_bug.cgi?id=10969

More information about the Greasemonkey mailing list