我嘗試重寫此鏈接http://lpfr.quizir.com/lp.aspx?LpID=332354&PartnerID=weedo覆蓋onbeforeunload(JavaScript)的
腳本位於此處的window.onbeforeunload
:http://lpfr.quizir.com/scripts/exittraffic.js window.onbeforeunload = DisplayExitSplash;
這個環節在彈出打開,然後當我試圖更改鏈接在彈出窗口或關閉彈出窗口中,我不能。
var xwin = window.open(http://lpfr.quizir.com/lp.aspx?LpID=332354&PartnerID=weedo)
一般情況下,這個工程: xwin.onbeforeunload = function(){}
但它不此特定鏈接> _ <
沒有人有任何想法上運行?
因此,當用戶想離開您的網站時,您想要劫持瀏覽器並將其重定向到廣告商? – 2011-12-25 14:30:40
這不是我的網站! (我不能編輯我原來的帖子:() 我嘗試重寫此網站的onbeforeunload事件 – user1115354
'xwin.setInterval(「PreventExitSplash = 1」,1);''將幫助你的情況,由所包含的代碼來判斷在http://lpfr.quizir.com/scripts/exittraffic.js –