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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -