3 ms·
Google has been doing this on google.com search page for ages before "upgrading" to ping I used to run if((event.target.tagName.toLowerCase() === 'a') &&
by rasz 8y ago
Google has been doing this on google.com search page for ages before "upgrading" to ping
I used to run
if((event.target.tagName.toLowerCase() === 'a') && (event.target.childNodes[0]) && (/^(http?:\/\/(www\.|encrypted\.)?google\.[^\/]*)?\/?url/.test(event.target.href))) {
var matches = /[\?&](url)=(.+?)&/.exec(event.target.href);
if (matches != null) {
event.target.href = unescape(matches[2]);
}
}
nowadays if (link.ping) link.ping = null; is enough
- megous 8y agobrowser.send_pings = false on Firefox