Ascending Size - MagnetDL

Automatically sorts links using the ascending size order.

Встановити цей скрипт?
Скрипт запропонований Автором

Вам також може сподобатись Hide dead links - MagnetDL.

Встановити цей скрипт
// ==UserScript==
// @name         Ascending Size - MagnetDL
// @namespace    https://greasyfork.org/en/users/670188-hacker09?sort=daily_installs
// @version      2
// @description  Automatically sorts links using the ascending size order.
// @author       hacker09
// @include      https://www.magnetdl.com/*/*
// @exclude      https://www.magnetdl.com/info/*
// @icon         https://www.magnetdl.com/img/m.gif
// @run-at       document-end
// @grant        none
// ==/UserScript==

(function() {
  'use strict';
  if (!['/size/', '/age/', '/type/', '/files/', '/se/', '/le/'].some(el => location.href.includes(el))) { //Starts the if condition
    location.href += 'size/asc/'; //Replace the URL
  } //Finishes the if condition
})();