您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
隐藏图片和标题
当前为
// ==UserScript== // @name noPIC 一键隐藏/显示全页面图片(摸鱼必备) // @version 1.0 // @description 隐藏图片和标题 // @author fxalll // @match * // @grant none // @require https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js // @license MIT // @namespace https://gf.qytechs.cn/users/1043548 // ==/UserScript== (function () { window.imgHidenSet = null; window.imgShownSet = null; let imgHiden = function() { $(".RichContent-cover-inner").each(function(){ $(this).hide(); }); $(".ZVideoRecommendationItem-thumbnailImage").each(function(){ $(this).hide(); }); $(".QuestionHeader-title").each(function(){ $(this).hide(); }); $("iframee").each(function(){ $(this).hide(); }); $("img").each(function(){ $(this).hide(); }); }; let imgShown = function() { $(".RichContent-cover-inner").each(function(){ $(this).show(); }); $(".ZVideoRecommendationItem-thumbnailImage").each(function(){ $(this).show(); }); $(".QuestionHeader-title").each(function(){ $(this).show(); }); $("iframee").each(function(){ $(this).show(); }); $("img").each(function(){ $(this).show(); }); }; let handleButtonClick = function(){ if (imgHidenSet === null) { clearInterval(window.imgShownSet); window.imgShownSet = null; imgHiden() window.imgHidenSet = setInterval(function(){ imgHiden(); }, 1300) } else { clearInterval(window.imgHidenSet); window.imgHidenSet = null; imgShown() window.imgShownSet = setInterval(function(){ imgShown(); }, 1300) } } // 自动隐藏图片 imgHiden(); let button = document.createElement('button') button.innerText = "切换图片模式" button.setAttribute("id", "myButton"); button.style.width = "120px" button.style.height = "50px" button.style.position = "fixed" button.style.bottom = "20px" button.style.right = "20px" button.style.background = "#8181819e" button.style.borderRadius = "15px" button.addEventListener("click", handleButtonClick); document.body.appendChild(button); })()
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址