Fix Google Links (no jquery)

Prevent google page from replacing search results links with the redirection ones (vanilla JS)

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Fix Google Links (no jquery)
// @version      1.0
// @namespace    Lanius
// @description  Prevent google page from replacing search results links with the redirection ones (vanilla JS)
// @author       Lanius
// @match        https://www.google.com/search?*
// @icon         https://www.google.com/favicon.ico
// @license      BSD-3-Clause
// @grant        none
// @run-at       document-end
// ==/UserScript==
(function () {
  'use strict';
  [].forEach.call(
    document.querySelectorAll('#rso a[data-jsarwt]'),
    function (el) {
      el.dataset.jsarwt = "";
    });
})();