Track Fake Website With Javascript - Cyber Tweaks

Ads Top

Track Fake Website With Javascript

Content is free. When you buy through links on my site, I may earn affiliate commission. Learn More.

Many people think that Javascript is a language that allows you to just make the web alone. In fact, a JavaScript function is also a full language of sensation. JavaScript has many secrets that will only be revealed to them that have a 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 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:

Powered by Blogger.