|
|
|
|
|
by rasz
2864 days ago
|
|
If you really care about gmail privacy (ha) you should also var matches = document.querySelectorAll('a[href*="www.google.com/url?q="]');
// remove all google spying redirects
for (var i = 0; i < matches.length; i++)
{
if (/^(https?:\/\/(www\.|encrypted\.)?google\.[^\/]*)?\/?url/.test(matches[i])) {
var match = /[\?&](url|q)=(.+?)&/.exec(matches[i]);
if (match != null) {
matches[i].href = unescape(match[2]);
}
}
}
|
|