Disable hyperlink auditing beacon

Ellis Tsung edited this page Jun 5, 2017 · 4 revisions

Background information

Essentially, hyperlink auditing (<a ping> attribute) is designed to notify an arbitrary website when you click on a link.

Why should I disable it?

Apart from the fact that its sole purpose is to notify trackers when you visit a link, Safari does not allow uBlock Origin to intercept these requests. In other words, your filter lists will not work against these requests.

How do I disable it?


As per a hidden WebKit setting, run this in your terminal:

defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2HyperlinkAuditingEnabled -bool false

and restart Safari.

Safari Technology Preview

Same as above, except replace com.apple.Safari with com.apple.SafariTechnologyPreview:

defaults write com.apple.SafariTechnologyPreview com.apple.Safari.ContentPageGroupIdentifier.WebKit2HyperlinkAuditingEnabled -bool false

and restart Safari Technology Preview.

Other browsers

Check out gorhill's wiki for more information.

How do I re-enable it/reset to default?

To re-enable, replace false with true above or delete the key:

defaults delete com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2HyperlinkAuditingEnabled
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.