Link Untracker

Remove tracking elements from links

< 脚本Link Untracker的反馈

评价:差评 - 脚本失效或无法使用

§
发表于:2018-02-08

Script doesn't work

The script doesn't do what it's supposed to do on Facebook. I tested by clicking several external links redirected from buff.ly (PC Gamer's posts) & dlvr.it (Eteknix.com's posts), but " ?utm_xxx " parameter wasn't removed when the page is loaded in a new tab.

Pale Moon 27.7.2 + Greasemonkey 3.31
Basilisk + Violentmonkey 2.8.27

IzzySoft作者
§
发表于:2018-02-10

Sorry that I won't test it on Facebook – I don't visit that site and do not plan to. Sounds a bit weird to use tracking protection and go straight for the lion's den with it …

May I ask if you use the latest version (7) of the script (which fixes some issues that could be behind this)? If so, could you do some debugging? The interesting parts would be at lines 54 and 58. It would also help to know the URL before and after the script ran.

§
发表于:2018-02-16

Latest version 7 is the one I installed. This is what the codes at line 54-58 looks like:

54: if (pair[0].startsWith(b)) { keysToDelete.push(pair[0]); break; }
55: }
56: }
57: for(var key of keysToDelete) {
58: purl.delete(key);

Examples of URL:
* http://dlvr.it/QGdnf0 --> https://www.eteknix.com/cooler-master-announces-case-mod-world-series-2018/?utm_source=dlvr.it&utm_medium=facebook

* https://buff.ly/2F8ZQAC --> https://www.pcgamer.com/farming-simulator-19-reveal-trailer-wants-you-to-farm-like-never-before/?utm_content=buffer16dc8&utm_medium=social&utm_source=facebook&utm_campaign=buffer_pcgamerfb

The final URL didn't change at all even after the script installed and has been set to execute first in Greasemonkey.

IzzySoft作者
§
发表于:2018-02-16

Sorry, but this script doesn't resolve any "link shortener addresses" (with your first example, it only sees "http://dlvr.it/QGdnf0" but not the final link it results in) – and hence it neither does remove tracking components hidden behind such. I those cases, the links with tracker components are results of server-side redirects which the browser follows directly.

So nothing I can do for that unless I'd integrate a bunch of link-shortener-resolvers, which I do not plan (no time for that, sorry – apart from the problem that this would cause "active tracking", as for resolving one needs to contact the corresponding server).

Besides: if you hover the mouse over the links you posted above, you'll see the script removes the tracking elements fine as long as it can see the real links ;)

发表回复

登录(不可用)以发表回复。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址