Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var stateObj = { foo: 'bar' };
- history.pushState(stateObj, 'page 2', 'sistema');
- </script>
- <SCRIPT type="text/javascript">
- window.history.forward();
- function noBack() { window.history.forward(); }
- </SCRIPT>
- <BODY onload="noBack();"
- onpageshow="if (event.persisted) noBack();" onunload="">
- </body>
- pref browser.sessionhistory.max_entries to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement