Skip to main content


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 10:32
LiLi Mising name is currently offline LiLi Mising nameFriend
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: Wed Apr 24 23:33:06 GMT 2024

Powered by FUDForum. Page generated in 0.02826 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top