TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Neat URL cleans URLs, removing parameters such as 'fbclid' and 'utm'

213 点作者 mot2ba超过 5 年前

18 条评论

lmkg超过 5 年前
Google Analytics expert here.<p>This is missing some fundamental ones: gclid and dclid. Those are the parameters that identify <i>a specific click</i> from <i>a specific user</i> on <i>a specific ad placement</i>. They are the keys that Google uses on the back-end to join Google Analytics data with Google Ads (formerly AdWords) and DV360 (formerly DoubleClick) data.<p>The utm_ parameters are tame. They are very coarse-grained, usually representing &quot;which budget did this ad come from&quot; rather than anything about a user. They&#x27;re ugly, which is enough reason to strip them, but gclid is also ugly, and much more identifying.<p>This is a bit of a fringe opinion, but I actually consider tools that block utm_ but leave gclid to actually be a <i>decrease</i> in privacy. A lot of people misconfigure their Google Analytics so that _utm params break the gclid. Stripping utms allows that join to happen.
评论 #22389116 未加载
评论 #22388380 未加载
评论 #22389049 未加载
评论 #22388941 未加载
lightswitch05超过 5 年前
I&#x27;ve been using this extension for a couple years now. In fact, I submitted the pull request for the fbclid feature [1]. @Smile4ever merged and released the change the next day. It is a really great extension with a responsive and helpful maintainer. I&#x27;m glad its getting some more visibility.<p>Extension Links:<p>Firefox: <a href="https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;neat-url&#x2F;" rel="nofollow">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;neat-url&#x2F;</a><p>Chrome: <a href="https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;neat-url&#x2F;jchobbjgibcahbheicfocecmhocglkco?hl=en" rel="nofollow">https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;neat-url&#x2F;jchobbjgi...</a><p>---<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;Smile4ever&#x2F;Neat-URL&#x2F;pull&#x2F;163" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Smile4ever&#x2F;Neat-URL&#x2F;pull&#x2F;163</a>
评论 #22388121 未加载
评论 #22389015 未加载
nyc_pizzadev超过 5 年前
This is a browser extension, I think. No where does it actually say that.
评论 #22387818 未加载
评论 #22387419 未加载
nickjj超过 5 年前
In order to install this browser extension it requires permissions of &quot;can read and change all your data on the websites you visit&quot;. So basically a man in the middle attack that tracks every site you visit and could potentially modify the content on pages you visit without you knowing.<p>As much as I enjoy privacy, IMO it&#x27;s a much bigger violation &#x2F; risk to give my complete browsing history to some extension, especially since it can &quot;read all your data&quot;. That means it can look at the HTML response of any page you visit which means access to your banking details, email account and everything you ever browse. That&#x27;s all personally identifiable data.<p>I wouldn&#x27;t even consider utm tags a privacy violation since it&#x27;s really nothing more than a slightly more useful referrer header that&#x27;s completely anonymous.
评论 #22388990 未加载
评论 #22394571 未加载
评论 #22389135 未加载
评论 #22388447 未加载
runxel超过 5 年前
This is one of the worst GitHub readmes I&#x27;ve ever encountered!<p>What is this? A CLI tool? A website? A browser extension?<p>Had to look in the comments to tell – what a desaster.
评论 #22388247 未加载
评论 #22387837 未加载
评论 #22387929 未加载
devindotcom超过 5 年前
Love this kind of decluttering. I hate gigantic URLs! I&#x27;ve been using ClearURLs for Firefox, seems to work well. Anyone know of any major differences?<p><a href="https:&#x2F;&#x2F;gitlab.com&#x2F;KevinRoebert&#x2F;ClearUrls" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;KevinRoebert&#x2F;ClearUrls</a>
评论 #22388203 未加载
BerislavLopac超过 5 年前
I&#x27;ve written a simple bookmarklet I call UrchinKiller that does the job:<p><pre><code> javascript:window.location=window.location.href.replace(&#x2F;\?([^#]*)&#x2F;,function(_,s){s=s.split(&#x27;&amp;&#x27;).filter(function(v){return(!&#x2F;^utm_&#x2F;.test(v))}).join(&#x27;&amp;&#x27;);return(s?&#x27;?&#x27;+s:&#x27;&#x27;)});</code></pre>
评论 #22387495 未加载
class4behavior超过 5 年前
On Firefox, I dropped this extension for the more versatile Request Control[1] as Neat URL failed to work for a long time; not sure about now.<p>[1]: <a href="https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;requestcontrol&#x2F;" rel="nofollow">https:&#x2F;&#x2F;addons.mozilla.org&#x2F;en-US&#x2F;firefox&#x2F;addon&#x2F;requestcontro...</a>
daef超过 5 年前
I like to squeeze amazon links to <a href="https:&#x2F;&#x2F;amazon.com&#x2F;dp&#x2F;B0085NTQJK" rel="nofollow">https:&#x2F;&#x2F;amazon.com&#x2F;dp&#x2F;B0085NTQJK</a> - removing the SEO inlining of the article name<p>Removing those pesky get-parameters aint enough to keep a BOM link list in line
评论 #22387846 未加载
评论 #22389481 未加载
jvehent超过 5 年前
I hate gigantic URLs, but not as much as I hate extensions that want to access my data for all websites.
评论 #22388024 未加载
prophesi超过 5 年前
It&#x27;d be cool to implement this as a browser extension, that either silently strips the parameters, or opens a dialogue upon a link click telling you what the extension is allowed to strip out before proceeding.
评论 #22387021 未加载
评论 #22387016 未加载
评论 #22387032 未加载
hieudang9超过 5 年前
In another approach, we could use userscript for Violentmonkey&#x2F;Greasemonkey browser addons. This way remind me the era of UserScript with Firefox version below 57, I almost can do anything with UserScript. Nowaday, it has some changes and limitations.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;cloux&#x2F;LinkSanitizer" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cloux&#x2F;LinkSanitizer</a>
Satwell超过 5 年前
I&#x27;ve been using Request Control (<a href="https:&#x2F;&#x2F;github.com&#x2F;tumpio&#x2F;requestcontrol" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tumpio&#x2F;requestcontrol</a>) which does some of the same stuff, though it looks like Neat URL and Clean URL do more.
ronalbarbaren超过 5 年前
Cool. Work well on Firefox Mobile. I installed successfully on Kiwi Browser (Chromium Mobile based) but couldn&#x27;t edit extension option, glitch somehow. Hope author add a feature like importing config file.
gcmrtc超过 5 年前
I don&#x27;t get this.<p>My solution is to use uBlock Origin and block tracking altogether.<p>This still allows GA to track you, it just removes some information from the tracking beacon.
评论 #22390912 未加载
winrid超过 5 年前
Anyone know if there&#x27;s an NPM library that does this? If not I may have to abstract this out into one for a project (thanks for making it!!).
vernie超过 5 年前
Won&#x27;t somebody please think of the advertisers?!
评论 #22388089 未加载
de-amped超过 5 年前
It doesn&#x27;t clean AMP URLs?