javascript - Frame Busting Buster Script Not Working on Firefox -


after long search (because of knowledge limitation) on stackoverflow, @ last have found frame busting buster script

<script type="text/javascript">     var prevent_bust = 0       window.onbeforeunload = function() { prevent_bust++ }       setinterval(function() {         if (prevent_bust > 0) {           prevent_bust -= 2           window.top.location = 'example.html'        } return false;      }, 1)   </script> 

it works charm on chrome , opera, when try on firefox, won't run , top page still redirect source page. can out this? please.. , if script different firefox, how can make spesific script run instead of previous script if browser firefox


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -