.*]*src="([^>]*jpg)"/;
global_numReg=/
// ==UserScript== // @name 批量找图脚本正式版 // @namespace https://greasyfork.org/users/14059 // @author setycyas // @homepage http://blog.sina.com.cn/u/1365265583 // @description 批量找图脚本正式版,已经为批量下载做好了准备 // @include http://www.uumt.cc/* // @include http://mm.xmeise.com/* // @include http://www.mm131.com/* // @include http://www.du114.com/* // @version 1.01 // @grant GM_registerMenuCommand // @grant GM_getValue // @grant GM_setValue // @require http://code.jquery.com/jquery-2.1.1.min.js // @run-at document-end // @license MIT // @downloadURL https://update.greasyfork.icu/scripts/16699/%E6%89%B9%E9%87%8F%E6%89%BE%E5%9B%BE%E8%84%9A%E6%9C%AC%E6%AD%A3%E5%BC%8F%E7%89%88.user.js // @updateURL https://update.greasyfork.icu/scripts/16699/%E6%89%B9%E9%87%8F%E6%89%BE%E5%9B%BE%E8%84%9A%E6%9C%AC%E6%AD%A3%E5%BC%8F%E7%89%88.meta.js // ==/UserScript== /**************************************** ######## version 20160130_01 ######### 脚本主要过程开始,根据图片站点不同,主要修改 global_picReg和global_numReg两个找图地址与 图总数的正则表达式.global_titleReg最好匹配 ,错了也能运行 ****************************************/ console.log("setycyas的批量找图脚本开始执行!"); //注册菜单 GM_registerMenuCommand('批量找图',mass_FindPic_Normal); GM_registerMenuCommand('批量找图自动保存',mass_FindPic_AutoSave); GM_registerMenuCommand('测试本页找图',_CurrentPageTest); //根据网站不同而修改的变量 var global_picReg //查找图片链接的正则表达式 var global_numReg //查找图片总数的正则表达式 var global_titleReg //查找标题的正则表达式 /******************************* 增加新网站支持就在这里!!!!记得 在开头的include也补上 ********************************/ if(window.location.href.match("www.uumt.cc")){ console.log("该页属于网站 www.uumt.cc"); global_picReg=/