[Greasemonkey] A whole other kind of monkey
Jeremy Dunck
jdunck at gmail.com
Wed Jul 20 16:37:16 EDT 2005
On 7/20/05, Lenny Domnitser <ldrhcp at gmail.com> wrote:
> Is location one of the global objects? Based on your description,
> probably not. There is bound to be oversight when trying to recreate
> the right scope, which is why we should probably be using the with
> statement, even if it has some complications.
There are lots of things not in global scope. But you can get to
location by using window.location. Anything that's usually "global"
can be had through window.<thing>. That's not an oversight.
More information about the Greasemonkey
mailing list