andros705 / Disable duckduckgo.com result highlight

// ==UserScript==
// @name         Disable duckduckgo.com result highlight
// @namespace    https://openuserjs.org/
// @version      1
// @description  This script tries to disable annoying result highlighting from duckduckgo.com. It also disables the click() events so you wont navigate to unwanted website by mistake. You can still click on the title or URL though, this works much like a google.
// @author       andros705
// @match        https://duckduckgo.com/?q=*
// @grant        ALL
// @copyright    2017, andros705 (Find me)
// @license      MIT
// @icon         https://duckduckgo.com/favicon.ico
// ==/UserScript==

(function() {
  'use strict';

  document.nrn = nrn;
  nrn = function (arg1, arg2, arg3, arg4) {
    document.nrn(arg1, arg2, arg3, arg4);

    let results = document.querySelectorAll(".result");

    for (var i = 0; i < results.length; i++) {
      for (var variable in results[i]) {
        if (results[i].hasOwnProperty(variable)) {
          results[i][variable] = undefined;
        }
      }
    }
  };
})();