油猴脚本 华盖图库检测无水印图片

var str = $(".imageConWapper").html()
var url = str.match(/VCG.{11,12}.jpg/);
var oss = "https://goss.cfp.cn/creative/vcg/nowarter800/new/";
var btntext = "检测图片";
$(".chooseSize").append("<dd><a href='" + oss + url+ "' target='_blank'>" + btntext + "</a><dd>");
$(".chooseSize dd").css({
    "background-color": "#41bb78",
    "border-radius": "3px"
});
$(".chooseSize dd a").css({
    "color": "#fff",
    "font-size": "20px",
    "padding": "15px",
    "display": "block",
    "text-align":"center",
});

if(window.top==window) {
    // You're not in a frame, so you reload the site.
    window.setTimeout('location.reload()', 3000); //Reloads after three seconds
}
else {
    //You're inside a frame, so you stop reloading.
}


加密版本:

加密工具:https://www.sojson.com/jsobfuscator.html

// ==UserScript==
// @name       华盖图库检测无水印图片
// @namespace  http://userscripts.org/scripts/show/486139
// @version    0.1
// @description  华盖图库检测无水印图片,显示下载地址
// @copyright  2020.02.21, doocii
// @include        https://www.vcg.com/*
// @require        http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js
// @run-at document-end
// ==/UserScript==



;var encode_version = 'sojson.v5', pktgy = '__0x6f026',  __0x6f026=['YjMowote','w4fDll/DocKWG8O4wrLClcKDwpxmw7PCl10Gw5dmw4DCpMOhAEDCtMO7DEs8w5hDw5oPwq5qD1sGw5hgwr/Dn3rCqTrCpn3Dtk0S','VjfDlgJhw7IEw7PDlxrDnw==','GsOBw6RBWR4=','ScKyw45Kw4zDhsKwwrFUUxbDoHEWwp7Ch8KARw==','UCQ0D8KBEcKmwqk=','wrVkKg/CgEBXwrjDpMOaw5XCn8Kpw4Y=','YMKAw60=','w5EXwoNHdkpR','wqNEFw==','c8KhwrN9w4wcTsKBQcOrLBbCsi/DtHE=','w64EXDs=','woYOa2g=','GzHDkBlrw7M=','wqhbXA==','CkvDpyDCumZjwrTDlEg=','Z8ODUcKJVMOqSUXCnjnCocOewp8pw5fDucKP','wolqw5shMAQDMyQ=','w7prJxLCmw==','5LiW6IGm5YqQ6Zqvwp4awqQ3wqcrWSPDjA==','B8KRw705'];(function(_0x4d60a9,_0x57dce7){var _0xb48e76=function(_0x2a7777){while(--_0x2a7777){_0x4d60a9['push'](_0x4d60a9['shift']());}};_0xb48e76(++_0x57dce7);}(__0x6f026,0x1a3));var _0x4344=function(_0x1337df,_0x366ee8){_0x1337df=_0x1337df-0x0;var _0x328552=__0x6f026[_0x1337df];if(_0x4344['initialized']===undefined){(function(){var _0x561c39=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x305279='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x561c39['atob']||(_0x561c39['atob']=function(_0x4d7337){var _0x1037e0=String(_0x4d7337)['replace'](/=+$/,'');for(var _0xe8359c=0x0,_0x56dd19,_0x302aad,_0x28b768=0x0,_0x2512eb='';_0x302aad=_0x1037e0['charAt'](_0x28b768++);~_0x302aad&&(_0x56dd19=_0xe8359c%0x4?_0x56dd19*0x40+_0x302aad:_0x302aad,_0xe8359c++%0x4)?_0x2512eb+=String['fromCharCode'](0xff&_0x56dd19>>(-0x2*_0xe8359c&0x6)):0x0){_0x302aad=_0x305279['indexOf'](_0x302aad);}return _0x2512eb;});}());var _0xb0e25c=function(_0x402808,_0x164cae){var _0x2d5736=[],_0x4c437e=0x0,_0x4f5172,_0x1f0988='',_0x831fdf='';_0x402808=atob(_0x402808);for(var _0x568749=0x0,_0x47508e=_0x402808['length'];_0x568749<_0x47508e;_0x568749++){_0x831fdf+='%'+('00'+_0x402808['charCodeAt'](_0x568749)['toString'](0x10))['slice'](-0x2);}_0x402808=decodeURIComponent(_0x831fdf);for(var _0x3efdcb=0x0;_0x3efdcb<0x100;_0x3efdcb++){_0x2d5736[_0x3efdcb]=_0x3efdcb;}for(_0x3efdcb=0x0;_0x3efdcb<0x100;_0x3efdcb++){_0x4c437e=(_0x4c437e+_0x2d5736[_0x3efdcb]+_0x164cae['charCodeAt'](_0x3efdcb%_0x164cae['length']))%0x100;_0x4f5172=_0x2d5736[_0x3efdcb];_0x2d5736[_0x3efdcb]=_0x2d5736[_0x4c437e];_0x2d5736[_0x4c437e]=_0x4f5172;}_0x3efdcb=0x0;_0x4c437e=0x0;for(var _0xf1f489=0x0;_0xf1f489<_0x402808['length'];_0xf1f489++){_0x3efdcb=(_0x3efdcb+0x1)%0x100;_0x4c437e=(_0x4c437e+_0x2d5736[_0x3efdcb])%0x100;_0x4f5172=_0x2d5736[_0x3efdcb];_0x2d5736[_0x3efdcb]=_0x2d5736[_0x4c437e];_0x2d5736[_0x4c437e]=_0x4f5172;_0x1f0988+=String['fromCharCode'](_0x402808['charCodeAt'](_0xf1f489)^_0x2d5736[(_0x2d5736[_0x3efdcb]+_0x2d5736[_0x4c437e])%0x100]);}return _0x1f0988;};_0x4344['rc4']=_0xb0e25c;_0x4344['data']={};_0x4344['initialized']=!![];}var _0x3be64d=_0x4344['data'][_0x1337df];if(_0x3be64d===undefined){if(_0x4344['once']===undefined){_0x4344['once']=!![];}_0x328552=_0x4344['rc4'](_0x328552,_0x366ee8);_0x4344['data'][_0x1337df]=_0x328552;}else{_0x328552=_0x3be64d;}return _0x328552;};var str=$('.imageConWapper')[_0x4344('0x0','Vuoc')]();var url=str[_0x4344('0x1','5K3V')](/VCG.{11,12}.jpg/);var oss=_0x4344('0x2','Y9xu');var btntext='检测图片';$(_0x4344('0x3','8[u^'))[_0x4344('0x4','qj!c')]('<dd><a\x20href=\x27'+oss+url+_0x4344('0x5','incK')+btntext+_0x4344('0x6','Y!NM'));$(_0x4344('0x7','yyrM'))[_0x4344('0x8','qLM!')]({'background-color':_0x4344('0x9','OP3y'),'border-radius':_0x4344('0xa','x$4g')});$(_0x4344('0xb','q7@K'))['css']({'color':'#fff','font-size':_0x4344('0xc','AsKj'),'padding':_0x4344('0xd','WPPe'),'display':'block','text-align':_0x4344('0xe','8[u^')});if(window[_0x4344('0xf','AsKj')]==window){window[_0x4344('0x10','K^Jh')](_0x4344('0x11','JG3b'),0xbb8);}else{};if(!(typeof encode_version!=='undefined'&&encode_version===_0x4344('0x12','BG%^'))){window[_0x4344('0x13','yyrM')](_0x4344('0x14','mecS'));};encode_version = 'sojson.v5';