Override onbeforeunload (javascript)
<p>I try to override <code>window.onbeforeunload</code> of this link <a href="http://lpfr.quizir.com/lp.aspx?LpID=332354&amp;PartnerID=weedo" rel="nofollow">http://lpfr.quizir.com/lp.aspx?LpID=332354&amp;PartnerID=weedo</a></p>

<p>The script is located here : <a href="http://lpfr.quizir.com/scripts/exittraffic.js" rel="nofollow">http://lpfr.quizir.com/scripts/exittraffic.js</a>
<code>window.onbeforeunload = DisplayExitSplash;</code></p>

<p>This link is open in a popup, then when I tried to change the link in the popup or close the popup, I can't.</p>

<p><code>var xwin = window.open(http://lpfr.quizir.com/lp.aspx?LpID=332354&amp;PartnerID=weedo)</code></p>

<p>Generally, this works:
<code>xwin.onbeforeunload = function(){}</code></p>

<p>But it doesn't work on this specific link >_&lt;</p>

<p>Does anyone have any idea?</p>
