🔥【百度网盘加速】33Down 网盘解析 🔥

破除网盘限速,成就你的体验,无视任何黑号,加速你的下载!灵感来源于KDown,经作者同意,发布本脚本给各位网友体验!

< Feedback on 🔥【百度网盘加速】33Down 网盘解析 🔥

Review: Good - script works

过滤水军脚本
// ==UserScript==
// @name Greasy Fork评论区净化
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 解决greasyfork上的垃圾评论刷屏问题
// @author hellopo
// @match *://greasyfork.org/*
// @run-at document-end
// @icon https://www.google.com/s2/favicons?sz=64&domain=greasyfork.org
// @grant none
// ==/UserScript==
(function() {
'use strict';
// 这里填写你想要屏蔽的用户ID
const userID = ['1145294','丛林寻宝儿儿'];
// 这里填写你想要屏蔽的脚本ID
const scriptID = ['493463','494729'];
// 是否只屏蔽差评
const onlyBad = true;

const removeElement = (element, idArray, className) => {
if (idArray.some(id => element.innerHTML.includes(id) || element.textContent.includes(id))) {
element.closest(className)?.remove();
}
}

Array.from(document.getElementsByClassName("user-link")).forEach(userLink => removeElement(userLink, userID, ".discussion-list-container"));
Array.from(document.getElementsByClassName("discussion-list-container")).forEach(scriptLink => {
if (onlyBad && !scriptLink.querySelector(".rating-icon-bad")) return;
removeElement(scriptLink, scriptID, ".discussion-list-container");
});
})();

1

Post reply

Sign in to post a reply.