A browser extension that shortens lengthy links and removes tracking data without the use of a link shortening service.

Latest Version

Version
0.1.1
Update
January 11, 2021
Size
75.26KiB
Developer
Category
Users
87
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions
Tabs
ActiveTab
See more

CleanLink Extension

**CleanLink is currently in beta.** There is a small chance that the link copied to your clipboard will not be valid, however, CleanLink will not break your overall browsing experience. If you notice that CleanLink breaks any links when shortening them, please file an issue at https://github.com/mathvav/cleanlink/issues.

Many websites add a lot of extra \"garbage\" to the link at the top of your browser, for any of the following reasons:

• Tracking customers throughout the \"conversion funnel\"
• Making the link more recognizable to humans, such as putting \"/Taylor-Swift-Album\" in the URL for an album from the best musician to ever live
• Storing extra information about your browsing experience, such as the exact search text that took you to the product you're viewing

However, when copying-and-pasting links to put in emails or spreadsheets, this extra data can take up a lot of space and make the link look... ugly.

CleanLink fixes this by taking a link like...

https://www.amazon.com/Capri-Sun-Variety-Pack-Strawberry/dp/B0812HZGGZ/?_encoding=UTF8&pd_rd_w=BV32h&pf_rd_p=58f68c27-9bf4-466f-b1c8-101a062bcc82&pf_rd_r=K9PPQDP3APKTHFR13WTA&pd_rd_r=d7a0ba05-e5d9-4c59-a37c-b470911fd28d&pd_rd_wg=bPW0M&ref_=pd_gw_wish

...and shortening it to...

https://www.amazon.com/dp/B0812HZGGZ

....just by removing unnecessary parts of the URL—this shortened link is 14% of it's original length!

CleanLink works especially well on Amazon and eBay product links, along with Google and Bing searches, but additionally removes \"UTM\" tracking data from the links of millions of websites worldwide. It sits in the top right corner of Chrome, and its icon turns from gray to blue when it senses that it can make the link on the current page shorter. When you click on the icon, CleanLink shortens the link and copies it to your clipboard for you.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx",\t"manifest_version": 2,\t"name": "CleanLink",\t"description": "A browser extension that shortens lengthy links and removes tracking data without the use of a link shortening service.",\t"author": "Matt Vavricek",\t"homepage_url": "https://github.com/mathvav/cleanlink",\t"version": "0.1.1",\t"icons": {\t\t"16": "icons/blueicon-16.png",\t\t"48": "icons/blueicon-48.png",\t\t"128": "icons/blueicon-128.png"\t},\t"permissions": [\t\t"tabs",\t\t"activeTab"\t],\t"browser_action": {\t\t"default_icon": "icons/grayicon-16.png",\t\t"browser_style": true,\t\t"default_title": "Copy the shortened link to the clipboard",\t\t"default_popup": "popup.html"\t},\t"background": {\t\t"scripts": [\t\t\t"js/background.js"\t\t],\t\t"persistent": false\t}}
Read more