With all the blurb over spoofed Web sites and phishing schemes wouldn't it be nice if there was a way to tell if the Web site you think you're on is actually the Web site you're on? Spoofed URLs are more common than you think and this little trick can save you loads of trouble.
When you're on a Web page that you want to verify for instance go to
www.pcsupportforums.com highlight the address in the browser address bar and then delete it. Now copy and paste
all of the following code in your browser address bar and hit Enter.
You will soon see if the URL is genuine or not.
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.");