2020-01-29 08:17:38 +00:00
< a href = "https://www.buymeacoffee.com/KevinRoebert" target = "_blank" > < img src = "https://cdn.buymeacoffee.com/buttons/default-orange.png" alt = "Buy Me A Coffee" height = "51" width = "217" > < / a >
2020-03-19 11:34:27 +00:00
[<img src="https://addons.cdn.mozilla.net/static/img/addons-buttons/AMO-button_1.png" alt="for Firefox"> ](https://addons.mozilla.org/en-US/firefox/addon/clearurls/ ) [<img src="https://gitlab.com/KevinRoebert/ClearUrls/-/raw/master/promotion/MEA-button.png" alt="for Edge"> ](https://microsoftedge.microsoft.com/addons/detail/mdkdmaickkfdekbjdoojfalpbkgaddei ) [<img src="https://developer.chrome.com/webstore/images/ChromeWebStore_BadgeWBorder_v2_206x58.png" alt="for Chrome"> ](https://chrome.google.com/webstore/detail/clearurls/lckanjgmijmafbedllaakclkaicjfmnk )
2019-09-12 18:59:55 +00:00
2019-10-22 14:26:39 +00:00
# <sub><img src="https://gitlab.com/KevinRoebert/ClearUrls/raw/master/img/clearurls.svg" width="64px" height="64px"></sub> ClearURLs
2017-08-31 22:52:49 +00:00
2019-10-22 14:26:39 +00:00
**ClearURLs** is an add-on based on the new WebExtensions technology and is optimized for *Firefox* and *Chrome* based browsers.
2017-08-31 22:52:49 +00:00
2020-01-06 16:26:58 +00:00
This extension will automatically remove tracking elements from URLs to help protect your privacy when browse through the Internet,
which is regularly updated by us and can be found [here ](https://gitlab.com/KevinRoebert/ClearUrls/raw/master/data/data.min.json ).
2017-08-31 22:52:49 +00:00
2017-12-21 06:33:46 +00:00
## Application
2020-01-06 16:26:58 +00:00
Many websites use tracking elements in the URL (e.g. `https://example.com?utm_source=newsletter1&utm_medium=email&utm_campaign=sale` ) to mark your online activity.
All that tracking code is not necessary for a website to be displayed or work correctly and can therefore be removed—that is exactly what ClearURLs does.
Another common example are Amazon URLs. If you search for a product on Amazon you will see a very long URL, such as:
2020-01-06 16:27:53 +00:00
```
https://www.amazon.com/dp/exampleProduct/ref=sxin_0_pb?__mk_de_DE=ÅMÅŽÕÑ& keywords=tea& pd_rd_i=exampleProduct& pd_rd_r=8d39e4cd-1e4f-43db-b6e7-72e969a84aa5& pd_rd_w=1pcKM& pd_rd_wg=hYrNl& pf_rd_p=50bbfd25-5ef7-41a2-68d6-74d854b30e30& pf_rd_r=0GMWD0YYKA7XFGX55ADP& qid=1517757263& rnid=2914120011
```
2020-01-06 16:26:58 +00:00
Indeed most of the above URL is tracking code. Once ClearURLs has cleaned the address, it will look like this:
2019-10-22 23:16:12 +00:00
`https://www.amazon.com/dp/exampleProduct`
2017-08-31 22:52:49 +00:00
2020-01-06 17:00:31 +00:00
## Features
* Removes tracking from URLs automatically in the background
* Blocks some common ad domains (optional)
* Has a built-in tool to clean up multiple URLs at once
* Supports redirection to the destination, without tracking services as middleman
* Adds an entry to the context menu so that links can be copied quickly and cleanly
* Blocks hyperlink auditing, also known as *ping tracking* (see also [this article ](https://html.spec.whatwg.org/multipage/links.html#hyperlink-auditing ))
2020-03-20 00:57:46 +00:00
* Prevents ETag tracking
2020-01-06 17:00:31 +00:00
* Prevents tracking injection over history API (see also: [The replaceState() method ](https://developer.mozilla.org/en-US/docs/Web/API/History_API#The_replaceState( )_method))
* Prevents Google from rewriting the search results (to include tracking elements)
* Prevents Yandex from rewriting the search results (to include tracking elements)
2020-01-06 16:26:58 +00:00
## Permissons
Reasoning for needed permissions can be found under [here ](https://gitlab.com/KevinRoebert/ClearUrls/issues/159 ).
2019-02-13 00:09:23 +00:00
## Screenshot
2020-02-01 14:00:32 +00:00
![Interface (version 1.14.0) ](https://gitlab.com/KevinRoebert/ClearUrls/raw/master/promotion/screens/Popup_v_1.14.0.png )
2018-09-03 12:42:23 +00:00
2019-09-12 18:59:55 +00:00
## CI/CD Artifacts Download (for Firefox- and Chrome-Dev only)
2019-03-18 21:09:58 +00:00
Here you can download the packed files for the Firefox- and Chrome-Dev:
2019-02-13 00:02:03 +00:00
[Firefox ](https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/ClearUrls_firefox.zip?job=build%20firefox )
2019-02-13 00:09:23 +00:00
2019-02-13 00:02:03 +00:00
[Chrome ](https://gitlab.com/KevinRoebert/ClearUrls/-/jobs/artifacts/master/raw/ClearUrls_chrome.zip?job=build%20chrome )
2017-12-21 06:07:08 +00:00
2019-09-23 23:24:16 +00:00
## Test
2020-04-02 23:21:38 +00:00
If you want to test whether ClearURLs works correctly on your system, you can go to this test page: [https://kevinroebert.gitlab.io/ClearUrls/ ](https://kevinroebert.gitlab.io/ClearUrls/ )
2019-09-23 23:24:16 +00:00
2017-12-21 06:01:02 +00:00
## Contribute
2018-06-05 16:35:24 +00:00
If you have any suggestions or complaints, please [create an issue. ](https://gitlab.com/KevinRoebert/ClearUrls/issues/new )
2017-10-12 23:24:28 +00:00
2019-10-22 14:26:39 +00:00
### Translate ClearURLs
You want to help translating ClearURLs into many languages? – Nice
You can choose between two options to contribute. You can create a merge request, or you can use the POEditor to translate ClearURLs.
2019-10-22 23:16:12 +00:00
*Hint: The description field in the translation files are only an information for what the translation is used.
It is not necessary to translate the description field; in the most cases it is empty.*
2019-10-22 14:26:39 +00:00
#### Merge request
If you want to create a merge request, you must open the path [`_locales/en/messages.json` ](https://github.com/KevinRoebert/ClearUrls/blob/master/_locales/en/messages.json ) in the ClearURLs repo
and translate the english terms into terms of your language. Once you have translated all the terms, you make a pull request of your translation.
Please push your translation into the folder `_locales/{country code}/messages.json` .
#### POEditor
[<img src="https://poeditor.com/public/images/logo/logo.svg" alt="https://poeditor.com/join/project/vKTpQWWvk2" width="150"> ](https://poeditor.com/join/project/vKTpQWWvk2 )
2019-03-18 21:09:58 +00:00
## Projects that use parts of ClearURLs
* [Uroute ](https://github.com/walterl/uroute ) used ClearURLs to filter/clean URL before launching browser
2020-04-02 23:21:38 +00:00
* [Scrub ](https://gitlab.com/CrunchBangDev/cbd-cogs/-/tree/master/Scrub ) used ClearURLs to filter/clean URLs as cog for the Red Discord bot
2019-03-18 21:09:58 +00:00
## Recommended by...
* [ghacks-user.js ](https://github.com/ghacksuserjs/ghacks-user.js/wiki/4.1-Extensions )
* [Awesome Humane Tech List ](https://github.com/humanetech-community/awesome-humane-tech#tracking )
2020-01-06 16:26:58 +00:00
* ClearURLs is part of Mozilla's recommended extensions program
2019-04-13 16:41:55 +00:00
## Permissions
Reasoning for needed permissions you can find under [this discussion ](https://gitlab.com/KevinRoebert/ClearUrls/issues/159 ).
2019-03-18 21:09:58 +00:00
2017-12-21 06:01:02 +00:00
## Copyright
We use some third-party scripts in our add-on. The authors and licenses are listed below.
2018-09-03 12:42:23 +00:00
- [WebExtension browser API Polyfill ](https://github.com/mozilla/webextension-polyfill ) |
Copyright by Mozilla |
[MPL-2.0 ](https://github.com/mozilla/webextension-polyfill/blob/master/LICENSE )
2020-01-06 17:00:31 +00:00
- [Bootstrap v4.3.1 ](https://github.com/twbs/bootstrap/tree/v4.3.1 ) |
2017-11-18 00:24:21 +00:00
Copyright 2011-2016 Twitter, Inc. |
2017-12-21 06:01:02 +00:00
[MIT ](https://github.com/twbs/bootstrap/blob/master/LICENSE )
2020-01-06 17:00:31 +00:00
- [jQuery v3.4.1 ](https://github.com/jquery/jquery/tree/3.4.1 ) |
Copyright JS Foundation and other contributors |
2017-12-21 06:01:02 +00:00
[MIT ](https://jquery.org/license/ )
- [sha256.jquery.plugin ](https://github.com/orsozed/sha256.jquery.plugin ) |
2017-11-18 00:24:21 +00:00
Copyright 2003, Christoph Bichlmeier |
2017-12-21 06:01:02 +00:00
[MIT ](https://raw.github.com/orsozed/JQuery-Plugins/master/license/MIT-LICENSE.txt ) |
[GPLv2 ](https://raw.github.com/orsozed/JQuery-Plugins/master/license/GPL-LICENSE.txt )
2020-01-06 17:00:31 +00:00
- [DataTables v1.10.20 ](https://github.com/DataTables/DataTables/tree/master ) | Copyright (c) 2008-2015 SpryMedia Limited | [MIT ](https://datatables.net/license/ )
- [Popper.js v1.16.0 ](https://github.com/popperjs/popper.js/tree/v1.16.0 ) | Copyright (c) 2016 Federico Zivolo and contributors |
[MIT ](https://github.com/popperjs/popper.js/blob/master/LICENSE.md )
- [Bootstrap Colorpicker v3.2.0 ](https://github.com/itsjavi/bootstrap-colorpicker/tree/3.2.0 ) | Copyright (c) 2017 Javi Aguilar |
[MIT ](https://github.com/itsjavi/bootstrap-colorpicker/blob/master/LICENSE )
- [Font Awesome v5.12.0 ](https://github.com/FortAwesome/Font-Awesome/tree/5.12.0 ) | Copyright (c) @fontawesome |
[Font Awesome Free License ](https://github.com/FortAwesome/Font-Awesome/blob/master/LICENSE.txt )