[Greasemonkey] calling my script from a page

s g junkvendoremail at yahoo.com
Tue Jun 20 05:58:23 EDT 2006


i've modified a page with a "a" element
   
     var link = document.createElement("a");
   link.href = "javascript:alert(\"hello\");";
   
  and inserted into a doc and it works.
   
  i'd like to actually call a function in my GM file.
   
  when i do:
   
  link.href = "javascript:my_function()";
   
  it doesn't work.
   
  help!
  
 

 			
---------------------------------
Sneak preview the  all-new Yahoo.com. It's not radically different. Just radically better. 


More information about the Greasemonkey mailing list