标签: javascript jquery asp.net json
当用户在onunload事件中离开当前页面时,我想跟踪在浏览器中输入的新网址。
如果用户正在浏览www.xyz.com/page1.aspx并突然在浏览器中输入新的URL,我想在onunload事件中输入新的url。可能吗?
答案 0 :(得分:0)
FYI。其他人问了类似的问题。
How can i get the destination url in javascript onbeforeunload event?
Get url for the page being opened next in window.onunload event