[Greasemonkey] Grab text string in TD

Prakash Kailasa pk-moz at kailasa.net
Mon Apr 25 09:50:32 EDT 2005


On Mon, Apr 25, 2005 at 08:38:41AM -0400, Scott R. Turner wrote:
>
> Hmm.  The following script doesn't work for me; I get the "Added
> listener" alert but not the "Executed listener" alert.  Am I doing
> something incorrect?
> 
> It's amazing how hard it is to get this "simple" script working :-)
> 
> -- Scott
> 
> // ==UserScript==
> // @name          Goggle
> // @namespace     none
> // @description	  Text replacement
> // @include       http://*.google.com/*
> // ==/UserScript==
> 
> (function() {
>  window.addEventListener("onload", function() {

Change "onload" to "load".

/prakash

-- 
|- DDD no longer requires the librx library.  Consequently, librx      |
|  errors can no more cause DDD to crash.                              |
|        -- DDD                                                        |


More information about the Greasemonkey mailing list