qbittorrent auto-set Active tab

Set qbit status tab to "Active" in webUI to prevent loading all torrents

目前为 2024-01-03 提交的版本。查看 最新版本

// ==UserScript==
// @name         qbittorrent auto-set Active tab
// @namespace    https://gf.qytechs.cn/en/scripts/483530
// @version      0.2.1
// @description  Set qbit status tab to "Active" in webUI to prevent loading all torrents
// @author       monad
// @match        http*://192.168.178.23:8080*
// @match        http*://QBIT_IP:PORT         /* have to edit this */

// @icon         https://upload.wikimedia.org/wikipedia/commons/thumb/6/66/New_qBittorrent_Logo.svg/240px-New_qBittorrent_Logo.svg.png
// @run-at       document-start
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';
//  Set `Status Tab to Active`
    localStorage.setItem('selected_filter', 'active');
//  Unselect Tags`
    localStorage.setItem(`selected_tag`, `return false`);
//  Unselect Category`
    localStorage.setItem(`selected_category`, `return false`);
//  Unselect Tracker`
    localStorage.setItem(`selected_tracker`, `return false`);
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址