News for hackers. Stuff that matters.
Re:Neat URL cleans URLs, removing parameters such as 'fbclid... by BerislavLopac on Friday February 21, 2020 @04:33PM (#22387024)
I've written a simple bookmarklet I call UrchinKiller that does the job:

    javascript:window.location=window.location.href.replace(/\?([^#]*)/,function(_,s){s=s.split('&').filter(function(v){return(!/^utm_/.test(v))}).join('&');return(s?'?'+s:'')});
Re:Neat URL cleans URLs, removing parameters such as 'fbclid... by admax88q on Friday February 21, 2020 @05:18PM (#22387495)
Won't this only apply _after_ you've loaded the page? Doesn't really help prevent the tracking that most of those parameters are used for.
Re:Neat URL cleans URLs, removing parameters such as 'fbclid... by devindotcom on Friday February 21, 2020 @05:23PM (#22387545)
Could still be handy for people who don't mind the URL loading big but might later want to copy-paste it somewhere in cleaner format.
Re:Neat URL cleans URLs, removing parameters such as 'fbclid... by BerislavLopac on Saturday February 22, 2020 @02:50PM (#22392930)
I generally use it just before I trigger the "post to News.YC" bookmarklet. ;-)

    javascript:window.location=%22http://news.ycombinator.com/submitlink?u=%22+encodeURIComponent(document.location)+%22&t=%22+encodeURIComponent(document.title)