# Link Handler

> Smart link processing: remove same-origin target attributes, unwrap redirect links, clean tracking parameters

Canonical page: [https://chrome-stats.com/d/link-handler-ext](https://chrome-stats.com/d/link-handler-ext)

## Overview

- **ID:** `link-handler-ext`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** wuwenjun
- **Category:** privacy-security
- **Daily users:** 1
- **Version:** 1.8.0
- **Last updated:** 2026-08-31
- **First published:** 2026-04-01
- **Size:** 95 KB
- **Data as of:** 2026-09-08
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/link-handler-ext/)
- **Website:** [https://github.com/scopewu/Link-Handler](https://github.com/scopewu/Link-Handler)

## Description

Smart link processing: remove same-origin target attributes, unwrap redirect links, clean tracking parameters

<strong>Overview</strong>

The extension processes links on every page automatically in this order: unwrap redirect links, remove same-origin <code>target="_blank"</code>, and clean tracking parameters. It only modifies links, not page behavior.

<strong>General Settings</strong>

These switches control the three main features globally.
<ul><li>Open same-site links in same tab — When enabled, links pointing to the same website (including relative URLs) will have <code>target="_blank"</code> removed and open in the current tab. Cross-site links are not affected.</li><li>Enable redirect unwrapping — Global switch. When on, redirect links are replaced with the real destination according to the rules on the Redirects tab. When off, all redirect rules are ignored.</li><li>Enable tracking cleanup — Global switch. When on, tracking attributes and URL parameters are removed according to the rules on the Tracking tab. When off, all tracking rules are ignored.</li></ul>
<strong>Redirect Rules</strong>

Each rule matches redirect links on a given domain and extracts the real URL from a query parameter. Common sites like Juejin, Zhihu, Weibo are built in, and you can add custom rules.
<ul><li>Domain — The domain to match (suffix match). For example, <code>weibo.cn</code> also matches <code>www.weibo.cn</code>.</li><li>Parameter — The query parameter that carries the real URL, such as target or url. The value is decoded and assigned as the new link.</li><li>Path Prefix — Optional. Only applies when the path matches this prefix, used when only certain paths are redirect pages (e.g. <code>jianshu.com/go</code>).</li><li>Enabled — Temporarily disable the rule without deleting it.</li><li>Description — A note shown only for your reference.</li></ul>
<strong>Tracking Cleanup Rules</strong>

Each rule matches a domain and performs three kinds of cleanup on its links. Common sites like Bilibili, Weibo, and Zhihu are built in.
<ul><li>Remove Attributes — HTML attributes to remove from the link element, such as <code>data-spmid</code> or <code>suda-uatrack</code>.</li><li>Prevent Click Rewrite — Block the page from rewriting the link on click, forcing direct navigation instead of a tracked redirect.</li><li>Clean URL Parameters (use * for all) — Query parameters to remove from the link URL, such as <code>utm_source</code> or <code>spm_id_from</code>. Enter * to remove all parameters. Keep functional parameters like p and t out of this list.</li><li>Enabled — Temporarily disable the rule without deleting it.</li><li>Description — A note shown only for your reference.</li></ul>
<strong>Whitelist</strong>

Websites on the whitelist are skipped entirely. Matching uses domain suffixes: adding <code>example.com</code> also covers <code>www.example.com</code> and <code>sub.example.com</code>. You can also add or remove the current site from the popup.

## Rankings

- #103,425 — Overall
- #55 — handle

## Permissions and access

### Permissions

- `storage`
- `activeTab`

### Content script matches

- `<all_urls>`

## Safety

- **Risk impact:** Moderate risk impact
- **Risk likelihood:** High risk likelihood

### Analysis details

- Allows access to all websites, posing a significant security risk as it can monitor and modify data from any visited site.
- This extension was recently updated in the past month. New updates may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [Link Cleaner+](https://chrome-stats.com/d/link-cleaner-plus) — 780 users, 4.39 / 5
- [ClearURLs-广告拦截工具](https://chrome-stats.com/d/clearurls-%E5%B9%BF%E5%91%8A%E6%8B%A6%E6%88%AA%E5%B7%A5%E5%85%B7) — 767 users, 1.08 / 5
- [ClearURLs-广告拦截工具](https://chrome-stats.com/d/clearurls-%25E5%25B9%25BF%25E5%2591%258A%25E6%258B%25A6%25E6%2588%25AA%25E5%25B7%25A5%25E5%2585%25B7) — 746 users, 1.09 / 5
- [AutoRedirector](https://chrome-stats.com/d/autoredirector) — 12 users
- [LinkSense](https://chrome-stats.com/d/linksense)
- [Link Looker](https://chrome-stats.com/d/link-looker) — 1 users, 5.00 / 5
- [Clean Links](https://chrome-stats.com/d/clean-links) — 9 users
- [Clean Link](https://chrome-stats.com/d/clean-link) — 12 users
- [Link Bypass (Safe) — Clean & Expand](https://chrome-stats.com/d/link-bypass-safe-clean-expand) — 54 users
- [Link Cleaner Redirects](https://chrome-stats.com/d/link-cleaner-redirects) — 1 users
- [Link Cleaner](https://chrome-stats.com/d/urlinks-cleaner) — 32 users
- [Link Expander](https://chrome-stats.com/d/linkexpander)

---

Source: [Chrome-Stats](https://chrome-stats.com/d/link-handler-ext)
