Auto click a button


#21

I have not seen error message because code never works.
what is complete code.? the code that m_hutley said "location.assign(URLHere)" does not work.
I want open urls from same domain in same tab with greasemonkey. for example if google.com has been opened in a tab and then i try to open google.com in new tab. greasemonkey automatically redirect me to existing tab which google.com has been opened. Exactly operation of "open link in existing tab extension" for chrome. I use firefox but firefox has not addon similar this


#22

Hi
I tried this code:

setTimeout(openUrl, 10000); // Wait 10 seconds

function openUrl(){

 window.location.replace("http://www.google.com");

}

This code opens google.com in all windows. i would like this code opens google.com in first window not in other windows


#23

have you any idea?


#24

How to cancel this window with addon


#25

FWIW window.location.assign() works perfectly fine for me from a GM user script...

What would you rather like to happen? Your browser just tells you that you're trying to open a binary file it doesn't understand... are you actually trying to open the page like this?


#26

No i like cancel or close this window whit GM or Addon


#27

Hi

How to click this button with GS:

<button onclick="closemultisurf();" class="button binfo"> Close Windows </button>


#28

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.