Remove garbage from URLs.

Latest Version

Version
5.0.0
Update
December 20, 2023
Size
60.0KiB
Developer
Category
Users
7,000+
Rating
4.13636 ★
Manifest Version
2
Web Store Status
Languages Support
Deutsch
English
Nederlands
русский
українська
中文 (简体)
See more
Permissions
Storage
Notifications
ContextMenus
WebRequest
WebRequestBlocking
Tabs

See more

Neat URL Extension

Neat URL cleans URLs, removing parameters such as Google Analytics' utm parameters.

Example
-------

Before:
http://www.phoronix.com/scan.php?page=news_item&px=Ioquake3-Auto-Updater&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Phoronix+(Phoronix)

After:
http://www.phoronix.com/scan.php?page=news_item&px=Ioquake3-Auto-Updater

Custom rules can be added using the global format or the domain specific format (parameter@domain). A domain specific parameter would be, for example, [email protected].

Parameter rules
---------------

A parameter is something that starts with ?. You can add your own parameter in the options of Neat URL. The ? is ommitted in the options, so a ?ved parameter becomes \"ved\". There are a few exceptions to this rule (see below)

Parameters can be global (for every domain):
utm_source

Parameters can contain @ signs (domain-specific):
[email protected]

Parameters can contain @ signs with a wildcard so every subdomain will match too:
param@*.wired.com

Parameters can contain @ signs with a wildcard at the end of a domain name (matches every domain name which begins with \"google\" and ends in an unknown suffix:
param@google.*

Parameters can also apply globally (first rule), except for a (wilcard) domain (second rule):

ref
[email protected]

The excluded domain always takes precedence. Should you include \"ref\" and \"!ref\", \"!ref\" will apply.

Other valid parameters (exceptions to the ? rule):
#xtor=RSS-8 (remove this parameter - be sure to include its value as well when you are using anchor tags)
#[email protected]
$/ref@amazon.* (remove everything after /ref on amazon domains - this will only apply when there are no query parameters left after removing the filtered query parameters)
$$/ref@amazon.* (remove everything after /ref on amazon domains - this will always apply, even when there are other query parameters after removing the filtered query parameters - this option is available because the user should be in control but beware that double dollar signs are dangerous, it might break the URL)

Invalid parameters:
param@*.google.* (too many wildcards)
!ved (this is some random string - not supported, but it might work)
/ref@amazon.*$ (dollar sign should be at the beginning)

History
-------

Neat URL is based on Lean URL. Neat URL contains a few improvements:
* set your own URL parameters on the options page (to reach feature parity with Pure URL)
* fixed for recent Firefox versions
* a nice animation in the toolbar (can be changed or disabled)
* domain-specific blocked parameters (to reach feature parity with Pure URL)
* wildcard domain-specific blocked parameters

Bug reports and feature requests
--------------------------------

You can open an issue on GitHub. Please include \"Neat URL\" in the title of the newly created issue: https://github.com/Smile4ever/Neat-URL/issues/new
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Neat URL", "description": "__MSG_extensionDescription__", "homepage_url": "http://itsafeature.org", "manifest_version": 2, "version": "5.0.0", "default_locale": "en", "background": { "scripts": [ "browser-polyfill.min.js", "background.js", "toolbaricon.js" ] }, "icons": { "48": "icons/dark/neaturl-48.png", "96": "icons/dark/neaturl-96-state0.png" }, "permissions": [ "storage", "notifications", "contextMenus", "webRequest", "webRequestBlocking", "tabs", "" ], "options_ui": { "page": "options.html" }, "browser_action": { "default_icon": "icons/dark/neaturl-96-state0.png" }}
Read more