Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <script>
  2. var stateObj = { foo: 'bar' };
  3. history.pushState(stateObj, 'page 2', 'sistema');
  4. </script>
  5.  
  6. <SCRIPT type="text/javascript">
  7. window.history.forward();
  8. function noBack() { window.history.forward(); }
  9. </SCRIPT>
  10.  
  11. <BODY onload="noBack();"
  12. onpageshow="if (event.persisted) noBack();" onunload="">
  13. </body>
  14.  
  15. pref browser.sessionhistory.max_entries to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement