function CheckBrowser() { // Check Browser Close [X] , Alt+F4 , File -> Close if(window.event.clientX < 0 && window.event.clientY <0) { window.open("Operation.aspx", "Operation",'left=12000,top=1200,width=10,height=1'); } }
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)
Window.event
window.onbeforeunload = function () { }
General News Suggestion Question Bug Answer Joke Praise Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.