SHOW:
|
|
- or go back to the newest paste.
1 | <script type="text/javascript"> | |
2 | - | |
2 | + | |
3 | setTimeout(function () { | |
4 | - | window.location.href = "/"; //will redirect to your blog page (an ex: blog.html) |
4 | + | window.location.href = document.referrer; //will redirect to your blog page (an ex: blog.html) |
5 | - | }, 5000); //will call the function after 5 secs. |
5 | + | }, 10000); //will call the function after 10 secs. |
6 | - | |
6 | + | |
7 | </script> |