The ultimate URL purifier - Tampermonkey version. This script uses pURLfy core as its core, and integrates its URL purifying functionality into a Tampermonkey script.
Simply navigate to Greasy Fork and click the "Install this script" button.
- 📖 Rules Settings: Enable or disable rules
- Tracking: Rules for purifying tracking links
- Outgoing: Rules for purifying outgoing links
- Shortener: Rules for restoring shortened links
- Alternative: Redirects you from some websites to their better alternatives
- Other: Rules for purifying other types of links
- Remove Text Fragment: Remove Text Fragments from URL
- 🪝 Hooks Settings: Enable or disable hooks
- location.href: Check location.href
- click: Intercept
click
events - mousedown: Intercept
mousedown
events - auxclick: Intercept
auxclick
events - touchstart: Intercept
touchstart
events - window.open: Hook
window.open
calls - pushState: Hook
history.pushState
calls - replaceState: Hook
history.replaceState
calls - Bing: Site-specific hook for Bing
- 📊 Statistics: Show statistics
- URL: Number of links purified
- Parameter: Number of parameters removed
- Decoded: Number of URLs decoded (
param
mode) - Redirected: Number of URLs redirected (
redirect
mode) - Visited: Number of URLs visited (
visit
mode) - Character: Number of characters deleted
- ⚙️ Advanced options: Advanced options
- Purify URL: Manually purify a URL
- Senseless Mode: Enable senseless mode
- Disable Beacon: Overwrite
navigator.sendBeacon
to a no-op function- Try out this feature on Ping Spotter - the "Beacon API" section will show "Request blocked"
- Debug Mode: Enable debug mode
Navigate to Tampermonkey Dashboard
- Settings
- External
, and choose the update interval you want from the dropdown menu.
Navigate to Tampermonkey Dashboard
- Installed Userscripts
- pURLfy for Tampermonkey
- External
, and for each entry under Resources
, click the Update
or Delete
button. After refreshing the page, the rules will be updated automatically.
See pURLfy core and its source code for more information.
Rules files can be fount at pURLfy rules.
This script hooks certain methods, intercepts calls to them, purifies the URLs, and then calls the original methods with the purified URLs. For more information, see the source code.