c# Programming Glossary: onbeforeunload
How to intercept the onbeforeunload event in a WebBrowser control? http://stackoverflow.com/questions/8883076/how-to-intercept-the-onbeforeunload-event-in-a-webbrowser-control to intercept the onbeforeunload event in a WebBrowser control I have a WinForms application.. the following DOCTYPE html html lang en dir ltr head title onbeforeunload test title meta charset utf 8 head body a href # onclick window.location.reload.. Test a script type text javascript window.onbeforeunload function return 'Are you sure you want to leave this page '..
|