Track Fake Website With Javascript
Content is free. When you buy through links on my site, I may earn affiliate commission. Learn More.
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 to paste the following code into your browser address bar when visiting a web. A 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.");
No comments: