Track Fake Website With Javascript

Many people think that Javascript is language that allows you to just make the web alone. In fact, JavaScript function is also a full language of sensation. JavaScript has many secrets that will only be revealed to them that have high curiosity. 

Javascript turned out to also be used to detect a fake web page or a phishing site. This is important, especially if you're going to do a transaction with a secret code, such as banking accounts, emails, facebook and others.

The following javascript code, will notify you if the page you're visiting is a fake page. How, paste the following code into your browser address bar when visiting a web. Pop-up screen will appear telling you whether the website is genuine or not.

Here is the Javascript code:


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.");

0 comments:

Post a Comment