[Greasemonkey] Re: modify java script

Premshree Pillai premshree.pillai at gmail.com
Wed Jul 13 20:52:52 EDT 2005


On 7/13/05, Prakash Kailasa <pk-moz at kailasa.net> wrote:
> On Wed, Jul 13, 2005 at 06:46:01AM +0530, V V Raja Rao wrote:
> > Hi,
> >
> > Attached below is the java script function: This function is called
> > when this link on the page is clicked:
> >
> > <a href="#"  onclick="check(4);return false;" class="zi01">Service Records</a>
> >
> > ------------------------------------------------------------------------------
> >
> > function check(parameter){
> >       .....
> >     }

I had a similar requirement for my Flickr Tags Autocomplete script,
where I needed to take some action when a mousedown event was
triggered. Maybe going through the code might help:
http://premshree.seacrow.com/code/gm/flickr-tags-autocomplete.user.js

Premshree

-- 
http://www.livejournal.com/users/premshree/


More information about the Greasemonkey mailing list