Created
April 26, 2016 17:44
-
-
Save ridinghoodmedia/e41e52c93ee14b1bce8a195252bcca7a to your computer and use it in GitHub Desktop.
js snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Useful js snippets | |
//Redirect to refferer url | |
if (document.referrer != "") { | |
location.href = document.referrer; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment