Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » swt browser with pop-up blocker(swt browser confirm)
swt browser with pop-up blocker [message #512179] Thu, 04 February 2010 05:32
LiLi Mising name is currently offline LiLi Mising name
Messages: 15
Registered: February 2010
Junior Member
hi, all
I want to use swt browser to download some web page. But the page will popup a dialog. I found a code snippet in
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet173.java?view=co
But it can only detect a visit to a new page such as clicking in <a
target="_blank" href=""></a>. But when a dialog popup by javascript
like "alert('hi');" or "confirm", it failed to block it and "click ok" to let the
javascript go on. Is there any solution with it? thank you.
Previous Topic:How to implement ExpandBar Like check sheet or Dynamic Help
Next Topic:how to export images into a product?
Goto Forum:
  


Current Time: Sat Apr 19 09:01:18 EDT 2014

Powered by FUDForum. Page generated in 0.01640 seconds