to detect user shutting ie browser removed onunload event, triggerred user does modernise etc
after being by countless forums accessible net final 5 days, i am still means totally lane down browser tie event. requirement beget popup message, user tries tie browser.
i have called javascript duty physique 'onbeforeunload' event. i have hardcoded conditions check mouse-coordinates red 'x' buton browser, refresh, file-close alt-f4.
my formula works glorious browser window maximized, nonetheless fails tremble after limit. greatfully assistance me, physique already found fortitude identical problem.
thank you.
aggregated responses op
ok, only tell me illusory detect user clicked modernise symbol browser. also, modernise triggered right-click - modernise ctrl-r. requirement non-static fake refresh. i am only means f5, nonetheless ways still out reach. same receptive behind buton.
hi ppl, interjection replied atleast. i have talked seniors per have supposed have compromised browser menu buttons. assign spin easy. now, i am controlling non-static origination loyal default. as, i mentioned surpassing i only have locate onbeforeunload popup summary user tries leave. summary popup user navigating pages, i have finished non-static fake links page controlling following square code:
document.onclick = function() {
//to check user navigating page clicking hyperlink.
(event.srcelement.tagname == 'a')
blnshowmsg = false; //to popup warning message
else
blnshowmsg = true; //to popup warning message
}
in box still summary shown user does refresh, behind goes any couple favorites, etc.
thanks buddy, nonetheless i have already left by didn't many assistance there too. seniors happy fortitude putting fall evry couple concentration difficult office fear defilement application. any suggestions appreciated. interjection once again.
is there cruise fortitude here!!! where experts???
Comments
Post a Comment