Created
February 8, 2016 13:26
-
-
Save yokesharun/ef653601549eb20ff661 to your computer and use it in GitHub Desktop.
Jquery get previous url of the browser
This file contains hidden or 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
$(document).ready(function() { | |
var referrer = document.referrer; | |
console.log(referrer); | |
}); | |
// open your console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment