智能无图生活include 特定非严格版 skycloud修改

隐藏图片,或显示一张默认图片,当你不便浏览该网页时

// ==UserScript==
// @name         智能无图生活include 特定非严格版 skycloud修改
// @namespace    项目地址github
// @version      999.0.0
// @icon         data:image/x-icon;base64,AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAABILAAASCwAAAAAAAAAAAACXt/H/krPv/4yw6/+Jrev/hKns/4Sm6/+Aoub/fqXm/3id6P92meb/d5fi/4Oi7f9xk+b/iJCp/9LTz//j5OX//////97b2f9bc7b/d5z2/3CR5P9yk+n/cpXm/3OW5v9wkub/a4vl/3GU5f9yleb/cJLn/3CS5f9ylOf/dpvm/5e67f+Wt+//lLbv/5C17P+JsOz/gqvq/4Cp6P+Bquj/eqLm/3id5v9+o+7/b4/Y/3OEsP+4usH/9fTz//78/f//////2NjU/4CJnv9pgMv/dJbs/3OW5v9xlOf/c5fm/3CS5/9ujuj/b5Hm/26O5v9si+f/a4nm/22M5v9riuT/oMPu/5q96/+Xuuz/lrjs/5O37v+NtOz/ibDr/4at6P+Cpuf/gajw/2eFxP+Vm6n/8fHr///////9/P3//Pr7///6+//59/n////7/8HDyP9qgsD/eZzs/3iY5P93l+b/epro/3eX5/9ylOf/cZLo/2+R5v9wkej/bo7n/22M5/+mx/L/o8bw/5/B7f+cv+//l7nv/5W47P+Xue7/kLPt/5C18/96mtT/rbK////////9/f7//Pj6//77/P/9/Pz//vr7//77/P/7+fv//////8LEx/9rhL//gqLu/36e5f9/oOT/gKHm/3yd5f9+n+f/epvn/3aZ6f91l+j/dJjl/6bJ8P+lye//psjy/6TG8P+jxu//nL/t/5m76P+bvfH/iKvj/5Kbr/////7//Pj8//36+v//+/v///v7///7+//++/v//fv8//z6+//7+fv////+/6Ssu/9zkN7/fp7q/3ua5f9+n+b/g6Tn/4Ok5/9+nuf/fJ7q/36e6v99neX/qc/v/6jN7v+fwur/pMbx/5m65/+hwu7/n8Pt/5/A8f9pepT/zs7N///////8+fr///v3///79f/++/b///v2//76+///+vz//vz+//b19f////z/6unm/3aMxv96ne3/eZrl/36e5/+AouT/gKDl/4Cf5/9/n+j/f5/n/4Ki6f+x0vP/qc7u/53A6f+ny/D/jrDZ/5Kz4P+mx/H/ocTx/3yOq//t6+r///3///36/P/++/r//fz6//76+f/++/v///7////9/v/p6ur/tb27/+Tm5v//////mafF/3aY5P+An+j/fZ3n/4Cl5/+Apeb/faDo/3yd6f97m+T/fp7l/7nV9P+00u//stHy/6rP8P+s0vL/qM3v/6XI7/+qz/n/i6LH/+bl5v///f///Pv7//37/P/9+/z///3+//v5+f/o5+f/1tXV/+Xm5f/a3d3/xszM//Hy8P/JzdX/dpTU/4Oi7P98nef/faXn/3+o5/96oOn/d5vo/3yc6P+AoOj/ydf2/8TW8//B1vP/t9Py/7DR8P+r0O//qc3u/6vR9f+Prc7/09PY///////7+vv//vr5///89//x8PH/3uDg/+vr5//69/P//////8jLyv/5+fn/5ebm/8PHxf9/m8v/ia3w/4Ko6P99pef/f6jo/3mf5/95n+j/eqDo/3ui6P/S2/b/zdn2/8vY9f/F1vb/vtb1/7jT8v+y0fL/sNHx/6PG6v+fp7j///37//37/P/++vn//vv4//Pz8v/8+fn////9///++//z8fD/tLm4//j4+P//////6Ojk/32Sr/+LsvD/h6/n/4av6v+IsOr/g6nq/36j6P99o+b/f6To/9Xg9v/V3/f/09v1/8zZ9//G2PX/wNbz/7vU8/+30vD/utj4/5OszP/Fyc3///////z3+v/++/z///z6///69//9+fr//////9jb2v/a3dz/5Obl//77+///////wcfP/4Ol1/+SuvD/i7Lq/46w6/+Nsur/jK/s/4ms6v+Hqun/3OL2/9jg9f/T3vX/0d30/87c9f/L2fT/yNf2/8LX9f+31e//ttb2/56xw//z8e////v///36+//++fj//vr3///8/f/39vb/ycvL///+/v/i5eX/9PHy///////v7en/h5y8/5q97/+Wuej/lrnq/5O27f+Os+3/j7Ts/5C17v/g4vj/3uD3/9jg9//V4PX/0971/9Lb9f/N2Pf/yNf4/8PY9P/G2/r/q8Xi/8nR1f///////Pr7//76+P/9+PX//////9jY2f/k5OT///////v6+v/7+Pn//fv8///++/+bqL3/krjm/5u+6/+avOn/m7vv/5e67v+Yu+7/mLru/9zj9//c4vj/3OL4/9zi+f/Y4fj/1d/3/9Hc9v/N2fX/y9j2/8jW9P/H2/n/rLnI//r39v/9/f3//v39///////k4uL/1dbV///////7+/v//vv8//76+//9+fv////6/6Kvwf+ZvOv/pMXv/6DB7v+dv+3/mb3r/5u+6/+fwO3/4uf3/+Dm9f/d5fb/3+L3/9/i9//Z4/j/1uH3/9bf8//R2/L/0N37/6691v+5v8P//fr6//7+/v/s7Oz/3dzc/9ra2//69vr//vv8//77/P//+vv//vr7//76/P//+vf/qLrP/6DE8f+kxfD/o8Xx/6LE8P+ewe3/ocPu/6LE8f/o6Pb/5ej1/9/m9v/g4fj/4OH4/9zj+P/b4vb/2uH0/9/n/v+6xNj/vsDG///////9+vv///z9//Hv7//s7Oz//f7+/////f/++/r///v7///6/P//+/v///v9///7+f+gsMD/pMbz/6rK8v+kyPD/pcfw/6TG8f+kxvD/osTw/+np9//p6ff/5ef2/+Tm+P/f5fj/3eT2/9/i9P/d5Pf/0Nnt/7G1u////v7/+/r8//36+//++/z//vz9///////o5+r/mJnH//b09f///P3//vv7///7/P/9+fr//////8zO0f+ZtNT/r9H1/6nO7/+qz/P/qcvz/6jL8/+nyvP/6Oj3/+jo9//l6Pb/5Of1/+To9v/h5/T/3+X2/+bq//+1u8n/19nZ///////9/Pz///v9///7/P/79vj////6/5CN3P8sJNf/xsXZ///////89/r//vr7//76/P//+v7/9PDw/5uswP+y0fb/sM7v/67P8P+xzvT/rcv1/63N9v/q6vb/5+j2/+bo9v/l5/X/5Of1/+Xn9f/j5fX/6en+/7e7xP/r5+r/6tz6/+/n8//s7uz/+fX3///9/P/p6PH/VlPq/0E6+v+fnNj////+//z4/P///Pz///78//7++/////7/rrfA/67K6/+41fT/ttPz/7LQ8/+0z/X/tc/1/+rr9f/q6vX/6ur1/+np9v/n6Pb/5uf1/+Lk9P/n5/3/ub/J/+PY6v+qgeL/sJnQ/+bn5P/39/r////9/8O/7P88Nuf/My/v/3151/////f/8O/y//Pz8v/s4fb/3sfz//71//+9wsT/q8He/8HZ9v+80vH/vNPy/7zT8v+40/H/6+z2/+rs9f/s6/X/6+v2/+np9v/o6Pb/5+f1/+rs+//M0N//1dbZ//n1/f/g3+X/rLSz/6qysv/19fH/6Ony/7W02v+YlM//q6vP///////x8fH/3d7i/6aH1f+wf+r/69P//8bHxv+xvdj/zd38/8bV9P/J1vb/x9b2/8XV9f/y7vn/7+74/+3t+P/q6vb/6On2/+jo9v/p6Pf/6en3/+fm+P/GydL//////3Z7ef9ASUf/UVpZ/7Gzs////////P38//7+/f//////tLa2/15gYP+7vr3/7erz/+fb8f///v//xcXH/7a+1v/X4vz/z9j0/8/X9v/N1/b/zdf2//Pu+f/z7/n/8e74//Dt9//t6/f/6uv3/+rq9v/o6PX/6+z7/8DFz//4+Pn/j5GR/8PEw/8nKyv/paen///////39Pb///z//9/e4f9JU1L/SE1N/z5DQv/g4t/////+//////+3ur7/vMXa/+bn///a3vX/1d72/9Tc9f/R2vb/8/H4//Tw+f/27vr/9u35//Lu+f/t7/j/7e74/+nq9f/v8Pv/vsHK/+/u7//o6Oj/qaqq/6Wnp//39vb///3+//36+v//////2tnb/4uQjf+ipZ3/Jisn/+zt7//+/fz////9/7W6vf/P1uz/4+P7/97h+P/a5Pj/2+L3/9ng9v/29Pr/9fP7//Xw+//07/n/8+/5//Dv+f/t7ff/7uv2//T0/v+/xcv/4+Li//Du7v/k6Of//Pz8//79/f/++/v//vv7//z4+P//////tbzF/z5Hb/9rfLr/nbP4/5+y9P+fruP/rbTA/+zt///d4vX/3eP2/93i+P/d4fj/2+H3//j1+f/59fn/9vT4//Ty+P/08vj/9PH4//Ht+P/38/7/0tTb/8zQ0f/7+fr//////+3t7f/a3Nv///z9//76+v/++fj///78/7XC3/90i9b/d4/q/3eO6f+Al/H/gJz3/3WGy//Q1OP/6Ov5/+Pn9f/k5/X/5OX3/+Pk9v/f4/b//fb3//339//79/f/9/X3//f09//18/n/9fL5//Px+f+/wMT//fz9//78/f/8+fn///////37+//9+Pn//Pn7///++/+7yu7/bobh/4Oc8/+IoO//h57x/4ed8v+CoPP/f47G/97f6//o6vn/5eb1/+bo9v/i5/X/5uj1/+Tn9v/6+fr//Pj7//34+f/89/j/+/b3//r2+f/39ff/+Pf7/8jKyv/49/f///////7+/v/e3t7/8/Ly////////////5uz3/4ae8v+Lof3/iKH1/4mi9f+Gnu//hZzu/4Wh8v93kun/lJ7B/+7v+v/m5/b/6Oj2/+fp9//p6ff/5ej2//76+//8+Pn//vn6//33+f/99/j/+fb7//j2+v/+/P//4eLj/8XHx//r7Oz/z9DQ/7m7vv+0tbn/wsLF/+bl4P+8zOj/dI/q/3qV7P94keX/conZ/32a7f+KpPf/iaDy/4Gc+f+JlML/7ev3/+fp9//o6Pb/6en3/+np9//n6Pb///r7//75+v/8+Pn//vr7//35+v/4+Pv/+Pb7//f2+v/7+vz/7e3t/9na2f/n5ub///3///j2/P/X2eD/ysvQ/7y/zf+WnLz/m6HA/7C00f/Jydf/go++/26G3v99mO//cYXV/7a4z//28///6On0/+nq9v/p6vb/6Oj2/+jo9v/++vv//vr7//76+//++/v//vv8//36/P/8+fr/+/n5//r4+P/++/z///3+//76/P/69vj//fb6///8/v///f////z9///8/P//+/3//vr+//75///p5uz/o6e8/5iewv/IzN7/8/P6/+3u+f/v7fj/7uz2/+/t9//s6/f/6er2//37/P/++vv//vr7//76+//++vv//vv7//75+v/++fr//fn6//37+//9+fr//fj5//73/P/+9/r//Pb2//v29//79vf/+PX3//n09//48vn/8u/4//j2/P///v///Pn9//r3/v/x7vn/8u/6//Lv+v/z7vr/9+z7//Hu+//s7fr/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
// @description  隐藏图片,或显示一张默认图片,当你不便浏览该网页时
// @author       skycloud修改
// @include      *://www.weibo.com/
// @include      http*://*weibo*
// @include      http*://t.me*
// @include      http*://*telegram*
// @include      http*://t.me*
// @include      *://*news.*
// @include      *://www.zhihu.com/question/*
// @include      *://*news*
// @include      *://*.*news*.*
// @include      *://*media*
// @include      *://*.cc*
// @include      *://tieba*
// @include      *://*sohu*
// @include      *://www.sina.com.cn/*
// @include      *://*.bt*
// @include      *://bt*
// @include      *://www.bt*.*
// @include      *://*.bt*.*
// @include      *://*cili*
// @include      *://tv*
// @include      *://*.tv*
// @include      *://*p2p*
// @include      *://*torrent*
// @include      *://www.163.com*
// @include      *://*toutiao*
// @include      *://*ifeng.com*
// @include      *://*yahoo*
// @include      *://*qihoo*
// @include      *://*yule*
// @include      *://*mop*
// @include      *://game*
// @include      *://*beauty*
// @include      *://*religion*
// @include      *://*sex*
// @include      *://*zuoai*
// @include      *://*qinse*
// @include      *://*drug*
// @include      *://*gamble*
// @include      *://*.*.com*.tw
// @include      *://*.com*.tw
// @include      *://*.*.com*.jp
// @include      *://*.com*.jp
// @include      *://*news*.*
// @include      *://*.*news*.*
// @include      *://*onion*
// @include      *://*tor*
// @include      *://*tw
// @include      *://*hk
// @include      *://*us
// @include      *://*cc
// @include      *://*.jp*
// @include      *://*kr*
// @include      *://t.me*
// @include      *://*telegram*
// @include      *://*beauty*
// @include      *://*religion*
// @include      *://*drug*
// @include      *://*gamble*
// @include      *://pao-pao.net*
// @include      *://longform.org/*
// @include      *://tieba*
// @include      *://*.bt*
// @include      *://tv*
// @include      *://*p2p*
// @include      *://*torrent*
// @include      *://*news*
// @include      *://*media*
// @include      *://www.tianya.cn/*
// @include      *://*sohu*
// @include      *://*sina*
// @include      *://*octodon*
// @include      *://*mastodon*
// @include      *://*o3o*
// @include      *://www.163.com*
// @include      *://*toutiao*
// @include      *://*ifeng.com*
// @include      *://www.qq.com/*
// @exclude      *://*code*
// @exclude      https://note.youdao.com/*
// @exclude      https://blog.csdn.net/*
// @exclude      http*://*anti*
// @exclude      http*://*spider*
// @exclude      *://sspai.com*
// @grant        none
// ==/UserScript==

/* 1. 默认隐藏所有网站的图片, 如果要指定具体的 */
(function () {
    'use strict';
    setInterval(function () {
        //图片地址
        var src = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEX///+nxBvIAAAAEklEQVR4XgXAgQgAAAAAoP2pjwACAAF0O1JHAAAAAElFTkSuQmCC';

        //图片替换
        var imgList = document.querySelectorAll("img");
        for (var i = 0; i < imgList.length; i++) {
            imgList[i].setAttribute("src", src);
            imgList[i].style.width="50px";
        }

        //背景图片替换 - div
        var divList = document.querySelectorAll("div");
        for (var j = 0; j < divList.length; j++) {
            divList[j].style.backgroundImage = "none";
            divList[j].style.backgroundRepeat="repeat";
        }
    }, 100);




})();