DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Unping all the links!  (Read 27,276 times)

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Unping all the links!
« on: April 19, 2019, 03:01 PM »
In April 2019, Chrome-based browsers lost their ability to disable hyperlink tracking, resulting in major security/privacy problems.

I wrote a Chrome extension that removes hyperlink trackers right from the HTML code.

Chrome Web Store: https://chrome.google.com/webstore/detail/unping-all-the-links/dcjpehalmoajcikojdkmfgncbbgadkkj
Code repository: https://hub.darcs.net/dertuxmalwieder/unping_all_links

Enjoy.
I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.
« Last Edit: August 21, 2019, 09:53 PM by Tuxman »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Unping all the links!
« Reply #1 on: April 19, 2019, 03:03 PM »
oh nice!

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Re: Unping all the links!
« Reply #2 on: April 19, 2019, 03:54 PM »
I didn't know hidden pinging in links like that was a thing! Worrisome that all the major vendors are enabling it by default, with no way to disable it! :'(

But there is some good news for folks who use Firefox or Brave:

Quote from: https://www.bleepingcomputer.com/news/software/major-browsers-to-prevent-disabling-of-click-tracking-privacy-risk/
Going forward, if privacy is important to you and you want to reduce the risk of being tracked online, then you will need to use Firefox or Brave.

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: Unping all the links!
« Reply #3 on: April 19, 2019, 04:00 PM »
I doubt that Mozilla won't change that. They even removed the "enable JavaScript" checkbox long ago, and they are continuously evaluating new ways to hurt your privacy.
I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Re: Unping all the links!
« Reply #4 on: April 19, 2019, 07:42 PM »
Also, it looks like even though Vivaldi has it enabled by default, you can still disable it (for now):

vivaldi://flags/#disable-hyperlink-auditing

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: Unping all the links!
« Reply #5 on: April 19, 2019, 07:45 PM »
I assume that more and more Chromium-based browsers will get rid of that flag over time. Wait for 2020!

(I had not tested Vivaldi this time. I can confirm that my version - a recent(ish) beta - still has the flag.)
I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: Unping all the links!
« Reply #6 on: April 19, 2019, 08:34 PM »
The latest version of Iridium, (based on Chrome v73), has it disabled by default.

Quote
Privacy enhancements
  • Disable "Use a web service to help resolve navigation errors"
  • Disable autocomplete through prediction service when typing in Omnibox
  • Always send "Do-Not-Track" header
  • Network/DNS prediction is disabled by default
  • Block third-party cookies by default
  • Link auditing (<a ping="...">) is disabled by default
  • Fetch plugins list from iridiumbrowser.de where it will be updated regularly
  • Site data (cookies, local storage, etc.) is only kept until exit, by default
  • Passwords are not stored by default
  • Input form autofill is disabled by default
  • For IPv6 probes, use a DNS root server instead of Google
  • The default search provider is Qwant
  • Load "about:blank" on new tabs instead of the currently set search engine and/or promotions.
  • Don't report Safe Browsing overrides.
  • Don't use autofill download service.
  • Disable cookies for safebrowsing background requests.
  • Disable the battery status API.
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: Unping all the links!
« Reply #7 on: April 20, 2019, 01:14 AM »
How is Iridium?  So many choices... all based on Chromium.

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: Unping all the links!
« Reply #8 on: April 20, 2019, 04:46 AM »
How is Iridium?

About all I can say is it works well since I currently have no real preference in a browser and have something like 8 of them on the machine and bounce between them all depending on the sites I'm visiting.

I did install it as the default on the wife's machine because Palemoon was becoming incompatible with the sites she used and with Iridium's predisposition towards privacy it meant I didn't need to trawl through its settings beforehand.

I haven't heard any screaming about anything not working so it passed that test.

It's available as a portable so it's easy enough to try it out.
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: Unping all the links!
« Reply #9 on: April 20, 2019, 12:51 PM »
It seems that I'll have to port the extension to Firefox...

https://www.ghacks.net/2019/04/20/mozilla-plans-to-enable-hyperlink-ping-tracking-by-default-in-firefox/
I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: Unping all the links!
« Reply #10 on: April 20, 2019, 03:00 PM »
If you use (Grease|Tamper|Violent)Monkey then there's also Disable Hyperlink Auditing which just removes the ping attribute from the tags.

Code: ( javascript)
// ==UserScript==
// @name         Disable Hyperlink Auditing
// @namespace    https://tech.jacenboy.com/hyperlink-auditing
// @version      1.0
// @description  A simple script that removes hyperlink auditing from all websites.
// @author       JacenBoy
// @match        http*://*/*
// @grant        none
// @run-at document-end
// ==/UserScript==

(function() {
    'use strict';

    var hyperlinks = Array.from(document.getElementsByTagName("a"));
    hyperlinks.forEach(a => {
        a.removeAttribute("ping");
    });
})();
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: Unping all the links!
« Reply #11 on: April 20, 2019, 03:02 PM »
That's what my extension does, but with less "first you'll have to install this other extension".
I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: Unping all the links!
« Reply #12 on: April 20, 2019, 03:52 PM »
That's what my extension does, but with less "first you'll have to install this other extension".

Still, an alternative if you already run (x)Monkey with userscripts already.
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

nickodemos

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 144
    • Military Service Badge - US Army
    • Military Service Badge - US Marine Corp
Re: Unping all the links!
« Reply #13 on: April 20, 2019, 04:27 PM »
Still, an alternative if you already run (x)Monkey with userscripts already.

Kinda how I feel since I use a Monkey clone as well. You should make one for FF as there are many people who do not use scripts.

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: Unping all the links!
« Reply #14 on: April 20, 2019, 04:32 PM »
Once Firefox disables it, I will.
I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.

Tuxman

  • OMG not him again!
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,522
    • Participated in NANY Challenge Seven Times
Re: Unping all the links!
« Reply #15 on: August 21, 2019, 09:54 PM »
Moved the repo over to Darcshub:
https://hub.darcs.net/dertuxmalwieder/unping_all_links
I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.

Original address: https://www.donationcoder.com/forum/index.php?topic=47540.0