Comments (4)
I'd like that. I used to use CleanLinks but it was never ported to web extension. And most of the referrer cleaner extensions either don't catch most of them or do funky stuff.
Other extensions that kinda do stuff like this:
Don't Track Me Google - source
NeatURL - source
SearchLinkFix - source
ClearURLs - source
Pure URL
Untrack Me
URL Tracking Protector
Personally, I've just been trying to find something as feature complete as CleanLinks for over a year. It just did so much.
from canonical.
Do note a major distinction in what I'm suggesting though. Unlike those other solutions, the Canonical add-on will never automatically redirect the URL or manipulate the user's browsing experience in any way.
It would merely be a suggestion, which could then be manually clicked on. So, if you land on a tracking URL like https://example.com/?utm_source=Cookie%2BMonster&, you land on it and remain there.
But, like how a the "C" icon will appear if there's a suggested canonical link, an "S" icon would appear if there isn't, but just as an additional option to quickly go to and copy a "cleaner" URL.
So, for example, here's a similar solution I wrote in PHP to dynamically grab the cleanest URL:
<?php
$protocol = isset( $_SERVER['HTTPS'] ) ? 'https' : 'http';
$request_uri = parse_url( $_SERVER['REQUEST_URI'], PHP_URL_PATH );
echo '{$protocol}://{$_SERVER['HTTP_HOST']}{$request_uri}';
?>
That would need to be rewritten in JS and then integrated into the add-on's conditional to display if no canonical link is found at all.
With that understanding, you'd still be interested in that feature?
from canonical.
lol anything that strips stuff out of url's either for copy/pasting purposes or for privacy I like.
from canonical.
Hmm, well I'll have to look into it once I get some time or if anyone else can help in the meantime, please do! Thanks.
from canonical.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canonical.