How to access JavaScript href event that triggered beforeunload?

I was all prepared to tell you this was impossible because the onbeforeunload event only reports to have been triggered by the window when you check out event. Target, event. Originaltarget, etc. If you override window.

Onclick, however, we can modify that method to register which element was last clicked on the page. Then, by providing code for window. Onbeforeunload, we can specify new behavior that will check for the href of the element which was clicked last.

Hooray, beer!

I would probably attach the event to all links on the page, rather than the beforeunload event.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions