[Greasemonkey] Can't get simple tag filter to work :(

Prakash Kailasa pk-moz at kailasa.net
Mon Apr 11 14:22:05 EDT 2005

On Mon, Apr 11, 2005 at 11:29:53AM +0200, andreas.goetz at accenture.com wrote:
> I'm trying to block out text ads from a website that marks them the
> following way:
> <cadv>some ad</cadv>
> My idea (similiar to google butler) was this:
> ad = document.getElementByTag('cadv')[0];

Replace 'getElementByTag' with 'getElementsByTagName'. I don't think
there is method with the name 'getElementByTag'.


|Every program is a part of some other program, and rarely fits.       |

More information about the Greasemonkey mailing list