Skip to content

Instantly share code, notes, and snippets.

@achudars
Last active December 17, 2015 00:19
Show Gist options
  • Save achudars/5520554 to your computer and use it in GitHub Desktop.
Save achudars/5520554 to your computer and use it in GitHub Desktop.
Check if a website is a spoof. Paste it in the console while visiting a website.
javascript:alert("The actual URL is:\t\t" + location.protocol + "//" + location.hostname + "/" + "\nThe address URL is:\t\t" + location.href + "\n" + "\nIf the server names do not match, this may be a spoof.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment