Greasy Fork is available in English.

HD Highlighter - MagnetDL

Highlight magnet links with the 1080p (Full HD) resolution.

Installer dette scriptet?
Skaperens foreslåtte skript

Du vil kanskje også like Hide dead links - MagnetDL.

Installer dette scriptet
// ==UserScript==
// @name         HD Highlighter - MagnetDL
// @namespace    https://greasyfork.org/en/users/670188-hacker09?sort=daily_installs
// @version      1
// @description  Highlight magnet links with the 1080p (Full HD) resolution.
// @author       hacker09
// @include      https://www.magnetdl.com/*/*
// @icon         https://www.magnetdl.com/img/m.gif
// @run-at       document-end
// @grant        none
// ==/UserScript==

(function() {
  'use strict';
  new MutationObserver(function() {
    document.querySelectorAll("tr").forEach(function(el) { //forEach link start the MutationObserver
      if (el.innerText.match('1080') !== null) { //If link has 1080
        el.style.backgroundColor = 'rgb(0 102 204 / 15%)'; //Highlight the row
      } //Finishes the if condition
    }) //Finishes the forEach loop
  }).observe(document, { childList: true, subtree: true }); //Finishes the MutationObserver
})();