Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. <script>
  2. function popstateurl(url){
  3. window.history.pushState(null, null, url);
  4. }
  5.  
  6. $(window).on("popstate", function(e) {
  7. window.location.href = window.location;
  8. });
  9. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement