pURLfy for Tampermonkey

The ultimate URL purifier - for Tampermonkey

Od 19.04.2024.. Pogledajte najnovija verzija.

Autor
PRO-2684
Ocjene
0 0 0
Verzija
0.1.5
Stvoreno
14.04.2024.
Ažurirano
19.04.2024.
Size
6,47 KB
Licenza
GPL-3.0
Primjenjuje se
Sve stranice

pURLfy for Tampermonkey

Greasy Fork

The ultimate URL purifier - Tampermonkey version. This script uses pURLfy core as its core, and integrates its URL purifying functionality into a Tampermonkey script.

Installation

Simply navigate to Greasy Fork and click the "Install this script" button.

Configuration

Statistics can be viewed by clicking Show Statistics in the menu, and can be cleared by clicking OK.

For advanced users, you can configure which hooks are enabled by modifying this script's external storage in Tampermonkey:

{
    "hook.location.href": true, // Check `location.href` (not really a hook, actually)
    "hook.click": true, // Intercept `click` events
    "hook.mousedown": true, // Intercept `mousedown` events
    "hook.window.open": true // Hook `window.open` calls
}

How it works

Purifying URLs

See pURLfy core and its source code for more information.

Hooks

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.