943,604 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Marked Solved
  • Views: 785
  • Java RSS
Apr 30th, 2009
0

How do I write code to close all pop up window

Expand Post »
Hello Java Experts,
Suppose I visit 10 web sites , some of them open pop up window even when I have blocked them in IE , then I get say 5 additional pop up window , is there an easy way to write java program to close all such pop up windows ?
Similar Threads
Reputation Points: 769
Solved Threads: 128
Banned
ithelp is offline Offline
1,910 posts
since May 2006
Apr 30th, 2009
0

Re: How do I write code to close all pop up window

hi ithelp,
as far as I know because of java's "safety" limitations it has difficulty working with other applications in this sense. I think it would be very difficult if not impossible...

though I don't consider myself an expert nor should anyone else...

PO
Reputation Points: 10
Solved Threads: 4
Junior Poster
PhiberOptik is offline Offline
164 posts
since May 2008
Apr 30th, 2009
0

Re: How do I write code to close all pop up window

hi ithelp,
as far as I know because of java's "safety" limitations it has difficulty working with other applications in this sense. I think it would be very difficult if not impossible...

though I don't consider myself an expert nor should anyone else...

PO
Which language could suit better C or Perl or VC ++ ?
Reputation Points: 769
Solved Threads: 128
Banned
ithelp is offline Offline
1,910 posts
since May 2006
Apr 30th, 2009
-1

Re: How do I write code to close all pop up window

I guess C or C++, possibly C# but not sure, would be more suitable as you can use them to reach and communicate with OS. Dunno about Perl
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is online now Online
6,653 posts
since Dec 2004
Apr 30th, 2009
1

Re: How do I write code to close all pop up window

Java's not the best choice for this kind of thing.
Here's a script that does what you want:
http://www.interclasse.com/scripts/killpopup.php
Featured Poster
Reputation Points: 1907
Solved Threads: 949
Posting Expert
JamesCherrill is online now Online
5,759 posts
since Apr 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Action Listeners & Arrays
Next Thread in Java Forum Timeline: Saving console content to file





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC