// ==UserScript== // @name Clean links in Google // @description Делает ссылки на сайты "чистыми", без примесей гугловских трекеров // @version 1.1 // @author DmitriyMX // @namespace https://dev.di9.ru/gitea/dmitriymx/clean-links-in-google // @downloadURL https://dev.di9.ru/gitea/dmitriymx/clean-links-in-google/raw/branch/master/script.user.js // @updateURL https://dev.di9.ru/gitea/dmitriymx/clean-links-in-google/raw/branch/master/script.user.js // @match https://google.com/* // @match https://google.ru/* // @match https://www.google.com/* // @match https://www.google.ru/* // @grant none // @run-at document-end // ==/UserScript== (function() { 'use strict'; Array.from(document.querySelectorAll('.g a')) .filter(elm => { return (elm.className == ''); }) .forEach(elm => { elm.removeAttribute('data-jsarwt'); elm.removeAttribute('data-usg'); elm.removeAttribute('data-ved'); }); })();