<script type="text/javascript">
function openBG(e) {
window.parent.location='http://www.sram.com/truvativ?utm_source ... =pinkvativ';
}
</script>
Is it possible to filter something like this? Any left clicks anywhere on this page - http://www.pinkbike.com/photo/6433514/ - are being hijacked and open the address above (even on the text box!).
filter javascript function openBG(e)
Re: filter javascript function openBG(e)
nvm, seems they fixed it now - something was missing:
<script type="text/javascript">
var openbglink=1;
function openBG(e) {
if (openbglink==1) {
window.parent.location='http://www.sram.com/truvativ?utm_source ... =pinkvativ';
}
openbglink=1;
}
</script>
<script type="text/javascript">
var openbglink=1;
function openBG(e) {
if (openbglink==1) {
window.parent.location='http://www.sram.com/truvativ?utm_source ... =pinkvativ';
}
openbglink=1;
}
</script>