Browser Close Button detection using JavaScript
window.onbeforeunload = confirmClose;
function confirmClose(e){
var Confirm_Close = "0";
if(Confirm_Close=="0")
{
var msg = "Are you sure?";
if (e) {
e.returnValue = msg;
}
return msg;
}
else{
Confirm_Close="0";
}
}
Detect any hyperlinks detection event
$(".pageclass a").click(function()
{
});
Relief from tool-tip headache
http://jqueryui.com/tooltip/#tracking