javascript - C# WebBrowser turn off jquery popups -


i have application uses webbrowser control navigate page page, on pages leaving popup asking me if that's want do.. stops whole further execution until press "leave" or "stay".. how can disable them?

what i've tried far these actions: a) setting window.onbeforeunload = null; b) setting alert, confirm, prompt empty function c) settin suppresserrormessages true

but so, still nasty message in end.

i relied on answer: how update dom content inside webbrowser control in c#?

but far without success. alerts seem jquery alerts because have custom texts (instead of ok cancel, have stay leave)..

any hugely appreciated!!

the webbrowser control uses ie internally , ie has prompt if you've filled out form asking if want leave page (thereby losing content you've filled out) perhaps that's you're seeing?

i'm shooting hip here try clearing inputs before navigating.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -