// ==UserScript== // @name 禁止图片加载 // @namespace http://tampermonkey.net/ // @version 1.0 // @description clear image // @author Zszen // @match https://*/* // @require https://cdn.staticfile.org/jquery/3.3.1/jquery.min.js // @grant none // @downloadURL none // ==/UserScript== (function() { 'use strict'; $(function(){ $('div img').remove();//移除所有在div中的图片 $('canvas').remove(); }) // Your code here... })();