您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
简单的网页无图模式
// ==UserScript== // @name 无图模式 // @namespace // @include * // @exclude *://gf.qytechs.cn/* // @version 0.3.0 // @description 简单的网页无图模式 // @author ymzhao // @namespace // @grant GM_addStyle // ==/UserScript== GM_addStyle(` img { display: none; opacity: 0; visibility: hidden; z-index: -1; } div {background-image:none} `); ;(function() { 'use strict'; // hookImg(); // function hookImg() { // const property = Object.getOwnPropertyDescriptor(Image.prototype, 'src'); // const nativeSet = property.set; // function customiseSrcSet(url) { // // do something // console.log('23333333333', url) // nativeSet.call(this, 'abc'); // } // Object.defineProperty(Image.prototype, 'src', { // set: customiseSrcSet, // }); // } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址