Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] swt browser with pop-up blocker


Hi, (note that swt usage questions like this should be asked on the eclipse.platform.swt newsgroup, not on this mailing list),

Snippet173 demonstrates blocking pop-up windows based on their trim.  The only way for you to block a case like "alert(message)" is to disable all _javascript_ in the page, which can be done with Browser.setJavascriptEnabled(false) @since 3.5.

There is an existing feature request which could be helpful for handling your case without disabling all JS, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=288037 .

Grant

Back to the top