Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- retour = function()
- {
- if (document.referrer && document.referrer.indexOf('mondomaine.fr')>=0)
- {
- history.go(-1);
- setTimeout(function()
- {
- location.href = document.referrer;
- },500);
- }
- else
- {
- window.location.href = 'mapage.php';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement