// ==UserScript== // @name 学术下载解析工具-知网-万方-维普-皮书 // @namespace http://tampermonkey.net/ // @version 1.3.5 // @description 反馈邮件:wochachakan@hotmail.com // @author wochachakan@hotmail.com // @match https://oss.wanfangdata.com.cn/* // @match https://*.cnki.net/kcms2/* // @match https://d.wanfangdata.com.cn/* // @match https://lib.cqvip.com/Qikan/Article/* // @match https://www.pishu.com.cn/skwx_ps/literature* // @match https://www.pishu.com.cn/skwx_ps/initDatabaseDetail* // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @grant unsafeWindow // @require https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.min.js // @require https://cdnjs.cloudflare.com/ajax/libs/layui/2.9.3/layui.js // @require http://www.xuexi365.top/Q.js?t=895258623 // @connect xuexi365.top // @connect 127.0.0.1 // @connect wanfangdata.com.cn // @connect cqvip.com // @connect cnki.net // @grant GM_xmlhttpRequest // @grant GM_getResourceText // @grant GM_cookie // @grant GM_getValue // @grant GM_setValue // @grant GM_listValues // @grant GM_download // @resource Gmsg http://www.xuexi365.top/msg // @resource Content http://www.xuexi365.top/C.txt // ==/UserScript== (function () { 'use strict'; /* globals jQuery, $, waitForKeyElements */ const $ = unsafeWindow.jQuery; // 代码内部 引入bootstrap的css文件并加入html中 let link = document.createElement('link'); link.rel = "stylesheet" link.href = 'https://cdnjs.cloudflare.com/ajax/libs/layui/2.9.3/css/layui.css'; document.head.appendChild(link); //隐藏本来的滚动条 $('.fixedbar').hide(); $('.anxs-left-bom').hide(); $('.web-tools').hide(); const Gmsg = JSON.parse(GM_getResourceText("Gmsg")); const help_content = GM_getResourceText("Content"); if (GM_getValue(Gmsg.msg_id, -1) == -1 && Gmsg.msg_active != 0) { layer.open({ type: 1, offset: ['16px', '16px'], // 详细可参考 offset 属性 id: 'ID-demo-layer-offset-1', // 防止重复弹出 content: '