[Greasemonkey] Ungreaseable

Nikolas Coukouma lists at atrus.org
Fri Aug 19 00:13:51 EDT 2005

Brendan Crosser-McGay wrote:

> Wouldn't it still be possible for say, a big name site to have a JS
> source added externally, and have it simply check if a node
> exists, forget trying to see if GM is loaded.

If you let GM run first, it can tear out the remote script tag.

> For instance, if I'm CNN, and I run a JS that checks to see if the
> advertising nodes exist where they are supposed to exist. I can
> check via JS onload, at the bottom, and maybe at random other
> intervals within the page itself, then if the advertising doesn't
> exist, throw the browser to another page. Or simply mangle the
> page entirely?

The script can modify getElementById and so on, making it impossible
to tell if it's actually there.

> Wouldn't it be great to make GM functions library that would let us
> selectively pre-filter JS on a page before it was rendered. Talk
> about a sticky situation that would put us in though.

Aaron's tried very hard to do this.


More information about the Greasemonkey mailing list