您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Quickly know if a file has subtitles or not.
// ==UserScript== // @name RARGB Subtitles // @namespace https://greasyfork.org/en/users/670188-hacker09?sort=daily_installs // @version 7 // @description Quickly know if a file has subtitles or not. // @author hacker09 // @include https://rargb.to/torrent/* // @icon https://t3.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://rargb.to // @run-at document-end // @grant none // ==/UserScript== (async function() { 'use strict'; document.querySelector("#hvicwlo").textContent += document.body.textContent.match(/(\.srt|\.ass|\.vtt|\.sub(?!string)|subtitle|(TEXT\/)?UTF-?8|VobSub|subrip)/gi) ? ' (HAS SUBS!)' : ' (NO SUBS!)'; //Add a message in the torrent title whether or not the page contains a text that means that it has subtitles })();