您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
filter dlsite result by type
// ==UserScript== // @name DLsite filter // @namespace http://tampermonkey.net/ // @version 0.1 // @description filter dlsite result by type // @author Oscar0159 // @match https://www.dlsite.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=dlsite.com // @grant none // @license MIT // ==/UserScript== var block_list = ['漫畫', '單篇', '單行本', 'CG・插畫', '雜誌/精選集', '聲音作品・ASMR', '小說']; // 隱藏的透明度 var opacity = "15%"; // 是否刪除元素 var delete_element = false; (function() { 'use strict'; window.onload = function() { var hasElement = document.querySelector(".work_category"); if (hasElement) { main(); } } function main(){ var block_elements = document.querySelectorAll('.work_category'); block_elements.forEach(function(element) { var text = element.querySelector('a').textContent; // check if the text is in the block list if (block_list.indexOf(text) > -1) { // hide the element element.parentNode.parentNode.style.opacity = opacity; if (delete_element) { // delete the element element.parentNode.parentNode.parentNode.remove(); } } }); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址