Ok so this is basically to check for a spoof website. This is extremely simple, and this isn't really going to impress any one, but people can check suspicious sites for phishers etc.
Any way, were going to use a very simple java script code.
What this code does is check the REAL location, and the location that the URL server is out putting, and will tell you if they match or not.
Simply visit a website, and type that code into the URL and see what your results are!
Any way, were going to use a very simple java script code.
Code:
javascript:alert("The actual URL is:tt" + location.protocol + "//" + location.hostname + "/" + "nThe address URL is:tt" + location.href + "n" + "nIf the server names do not match, this may be a spoof.");
What this code does is check the REAL location, and the location that the URL server is out putting, and will tell you if they match or not.
Simply visit a website, and type that code into the URL and see what your results are!


