clean-links

Clean Links Browser Extension

Clean Links Icon

A powerful, privacy-focused browser extension that automatically cleans URLs by removing tracking parameters and provides anti-phishing protection. Keep your links clean, safe, and private!

Demo Videos

How to Use

See how Clean Links automatically removes tracking parameters when you copy URLs, keeping your links clean and private.

Anti-Phishing Protection in Action

Suspicious URL: https://pаypaI.com/login (using capital 'i')
Result: PHISHING WARNING displayed, URL not processed

Suspicious URL: https://pаypal.com/login (using Cyrillic 'а')
Result: PHISHING WARNING displayed, URL not processed

Suspicious URL: https://gооgle.com/search (using Cyrillic 'о')
Result: PHISHING WARNING displayed, URL not processed

Phishing Protection

See how Clean Links identifies and highlights similar-looking characters that help protect you from suspicious links and potential phishing attacks.

Features

URL Cleaning

Anti-Phishing Protection

Multiple Access Methods

Customization Options

Privacy & Security

How It Works

Automatic Mode

  1. Copy any URL (e.g., https://example.com/page?utm_source=social&ref=banner&v=123)
  2. Extension detects the URL and checks for phishing attempts
  3. Parameters are cleaned based on your settings
  4. Clean URL replaces clipboard content (https://example.com/page or https://example.com/page?v=123)
  5. Brief notification confirms the action

Manual Mode

  1. Copy a URL to your clipboard
  2. Use any of these methods:
    • Click the extension icon and press “Clean URL”
    • Press Ctrl+Shift+L (or Cmd+Shift+L on Mac)
    • Right-click on a link or selected URL and choose “Clean and copy”
  3. Configure your cleaning preferences in the popup if needed

Anti-Phishing Protection

Installation

From Browser Extension Store

Chrome Web Store

Install Clean Links from Chrome Web Store

Other Browsers

Firefox Add-ons and Microsoft Edge Add-ons coming soon

Manual Installation (Developer Mode)

Chrome/Chromium/Edge

  1. Download or clone this repository
  2. Open browser and navigate to extensions page:
    • Chrome: chrome://extensions/
    • Edge: edge://extensions/
  3. Enable “Developer mode” (toggle in top-right corner)
  4. Click “Load unpacked” and select the extension folder
  5. The Clean Links extension is now active!

Firefox

  1. Download or clone this repository
  2. Open Firefox and navigate to about:debugging
  3. Click “This Firefox” → “Load Temporary Add-on”
  4. Select the manifest.json file from the extension folder
  5. The extension is now active!

Usage Examples

Basic URL Cleaning

Original: https://amazon.com/dp/B08N5WRWNW?ref=sr_1_3&keywords=laptop&sr=8-3&th=1
Cleaned:  https://amazon.com/dp/B08N5WRWNW

Whitelist Mode (keeping important parameters)

Settings: Whitelist = "v, page"
Original: https://youtube.com/watch?v=dQw4w9WgXcQ&list=PLrAXtmRdnEQy&index=1&t=42s
Cleaned:  https://youtube.com/watch?v=dQw4w9WgXcQ

Blacklist Mode (removing specific tracking)

Settings: Blacklist = "utm_source, utm_campaign, fbclid"
Original: https://example.com/article?utm_source=twitter&utm_campaign=spring&page=2&v=1.0
Cleaned:  https://example.com/article?page=2&v=1.0

Phishing Detection

Suspicious URL: https://pаypal.com/login (using Cyrillic 'а')
Result: PHISHING WARNING displayed, URL not processed

Suspicious URL: https://gооgle.com/search (using Cyrillic 'о')
Result: PHISHING WARNING displayed, URL not processed

Testing

Open test/test.html in your browser to test the extension with various URL formats and edge cases.

Configuration

The extension provides flexible configuration options:

Automatic Cleaning

Cleaning Modes

  1. Remove All (Default): Strips all query parameters and fragments
  2. Whitelist: Only keeps parameters you specify (comma-separated)
  3. Blacklist: Only removes parameters you specify (comma-separated)

Manual Access Methods

Common tracking parameters are pre-configured in blacklist mode:

Privacy & Security

What We Don’t Do

What We Do

Permissions Explained

Known Limitations

Some websites restrict clipboard access due to security policies (Google Docs, WhatsApp Web, Outlook, etc.). On these sites:

Technical Details

Contributing

We welcome contributions! Here’s how you can help:

Bug Reports

Feature Requests

Code Contributions

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes following existing code style
  4. Test thoroughly with test/test.html
  5. Commit changes (git commit -m 'Add amazing feature')
  6. Push to branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

Development Setup

# Clone the repository
git clone https://github.com/yourusername/clean-links.git
cd clean-links

# Load extension in browser (see Installation section above)
# Make changes and test with test/test.html

License

Apache License 2.0 - see LICENSE file for details.

Acknowledgments

Support


Made with care for a cleaner, safer web. Star this repository if Clean Links helps you!