Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Closing an Alert Window

Status
Not open for further replies.

MayoorPatel

Programmer
Apr 10, 2006
35
GB
Hi there I have this script running against several websites, but one website has this annoying alert window that pops up and stops me from running the script any futher unless I click ok.

Now I have to leave this script running all day. Is there anyway that when then Alert pop up with the message pops up my script can just disable or auto click the "OK".?

Googled this everywhere to no avail some help or ideas on this would be great please!

Thanks

Mayoor

 
You cannot do this with JS. There are, however, Windows apps out there that will "auto-click" OK buttons for you. I suggest checking on Tucows, etc, for these.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Look at using proxomitron to act as a proxy server for you... and then apply a regexp-type match to strip out the call to the alert on that specific site. This is free (unsupported) software for Windows.

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top