Adding Button

Subscribe to Adding Button 2 posts, 2 voices

 
faraz1992 Scriptwright

I want to know how do i add a small button on a web page which when clicked redirects to a page from where my script can be executed.....please give me the java code for it....thanking in advance....

 
Yansky Scriptwright

I want to know how do i add a small button on a web page which when clicked redirects to a page from where my script can be executed

Why? Greasemonkey scripts run on a per-site basis. Just add the site to the @include at the start of your script.

please give me the java code for it

So let me get this straight, you "wrote" a script, yet you don't know the difference between java and javascript and you're unable to construct a button element.

Please, for the love of god, explain this to all your orkut "scrap all" friends; GREASEMONKEY SCRIPTS RUN FROM WITHIN THE GREASEMONKEY EXTENSION! There is NO need to execute the script manually.