Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Disable hyperlink auditing beacon
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
defaults write com.apple.SafariTechnologyPreview com.apple.Safari.ContentPageGroupIdentifier.WebKit2HyperlinkAuditingEnabled -bool false
and restart Safari Technology Preview.
Check out gorhill's wiki for more information.
How do I re-enable it/reset to default?
To re-enable, replace
true above or delete the key:
defaults delete com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2HyperlinkAuditingEnabled