Created
May 31, 2011 14:40
-
-
Save richardbenson/1000605 to your computer and use it in GitHub Desktop.
A supplier put this on their interface. There are no words to describe how stupid this is, especially on a page that links a number of other pages INCLUDING EXTERNAL SITES.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function preventBack(){ | |
try{ | |
history.forward(); | |
setTimeout('preventBack()', 500); | |
}catch(e){} | |
} | |
preventBack(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment