Learn About How To Finding A Spoofed Website With A Javascript (© All Computer Studies)

Lots of people think that Javascript is an lower language but Javascript is an highly powerful language and those people who think that they either don't know how to use it or are not familiar with it's capabilities, With javascript you can do lots of cool things such as edit any online webpage, make an image fly on your web browser etc, but it is a waste of time to spend your time on making images fly with javascripts or editing a webpage. Anyways coming to the main topic, did you know that javascript can be used to detect if a page is a spoofed website or phishing website or a scam one, well if you don't know just paste the following javascript (.js) code in to the address bar and a pop up will appear telling you whether the website is original or not.

Here is the JavaScript code:

javascript:alert("The original URL is:\t\t" + location.protocol + "//" + location.hostname + "/" + "\nThe full address URL is:\t\t" + location.href + "\n" + "\nIf the server names do not match, this may be a spoof/scam.");