Skip to content

JavaScript Clone ​

The JavaScript Clone snippet is a lightweight script designed to help you detect if your website is being cloned or copied. By embedding this code into your pages, you can monitor unauthorized duplication and protect your content from phishing attacks or malicious replication.

This is especially useful for organizations that want to maintain brand integrity and security by identifying attempts to impersonate their website.

How It Works ​

  • The script monitors page activity in the background and checks for unauthorized replication or embedding.
  • If a cloned page is detected, Trapster logs the event and provides an alert, including information about the origin of the attempt.
  • It runs silently without impacting normal user activity, ensuring that legitimate visitors are unaffected.

How to Use ​

  1. Copy the provided JavaScript snippet.
  2. Paste it into your website’s code, ideally in the <head> or just before the closing <body> tag.
  3. Publish your website as usual.

Once deployed, Trapster will automatically start monitoring for clones and trigger alerts when suspicious activity is detected.

Options ​