您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Skips over the 'subscribe to unlock' stuff on PVPRP.com resource packs and makes download button available directly.
// ==UserScript== // @name PVPRP Skip download steps / DL // @namespace https://snehajeez.xyz // @version 1.0 // @description Skips over the 'subscribe to unlock' stuff on PVPRP.com resource packs and makes download button available directly. // @author Shehajeez // @match https://pvprp.com/pack* // @grant none // ==/UserScript== (function () { var i = setInterval(() => { var l = document.querySelector('.load'); var d = document.querySelector('#update-download'); var s = document.querySelector('.self-end'); if (l && l.style.display === 'none' && d && s) { clearInterval(i); document.querySelectorAll('script').forEach(sc => { var m = sc.textContent.match(/\(document\)\.on\('click', "\.dowbt", function\(\) \{\s*if\(\$\(this\)\.attr\("href"\) == "([^"]+)"\)/); if (m) { d.href = encodeURI(m[1]); d.className = 'button-shared button-main'; s.remove(); var b = document.querySelector('.important-box'); if (b) b.remove(); } }); } }, 100); })();