[Greasemonkey] Calling a GreaseMonkey function from an "Onclick" event

Bill Donnelly donnelly at snowcrest.net
Mon Jul 25 14:43:36 EDT 2005


i.e., define myFunction() as:

   window.myFunction = function ( '][any parms][' ) {
      '][The Code]['
   }

where "The Code" is pronounced like SNL's "The Bears".
(this last part is the most important part, imho)

;) ;o)

-- 
Jack the Ripper may have been quite insane,
but he had beautiful penmanship.
btw -- Don't look back!
The lemmings are gaining on you.


More information about the Greasemonkey mailing list