您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Change Subscribe text to Purchase on Real Debrid 2024-04-30, 2:58:30 PM
// ==UserScript== // @name Change Subscribe button text to Purchase on real-debrid.com // @namespace Violentmonkey Scripts // @match https://real-debrid.com/premium* // @grant none // @version 1.1 // @author Matthew Hugley // @description Change Subscribe text to Purchase on Real Debrid 2024-04-30, 2:58:30 PM // @license BSD 3-Clause // ==/UserScript== (function () { "use strict"; // Select all span elements inside elements with the class 'btn_grey_more' let buttons = document.querySelectorAll(".btn_grey_more span"); // Loop and check through each button buttons.forEach((button) => { // If the button text is "Subscribe", change it to "Purchase" if (button.textContent.trim() === "Subscribe") { button.textContent = "Purchase"; } }); })();