您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
为世图科研助手增加已下载的红色链接
当前为
// ==UserScript== // @name 增加已下载的红色链接-世图科研助手,学科服务群 // @namespace http://tampermonkey.net/ // @version 2025-05-03-001 // @description 为世图科研助手增加已下载的红色链接 // @author You // @match https://research.worldlib.site/result_query.aspx // @icon https://www.google.com/s2/favicons?sz=64&domain=worldlib.site // @grant none // @license MIT // ==/UserScript== (function () { 'use strict'; // 添加访问过的链接样式 function addVisitedStyle() { if (!document.querySelector('style[data-visited-style]')) { const style = document.createElement('style'); style.setAttribute('data-visited-style', ''); style.textContent = `a:visited { color: #e233eb; }`; document.head.appendChild(style); } } // 添加下载链接 function addDownloadLinks() { document.querySelectorAll('a[data-url]').forEach(link => { if (!link.nextElementSibling) { const newA = document.createElement('a'); newA.textContent = "下载"; newA.href = link.getAttribute('data-url'); newA.target = '_blank'; link.parentNode.appendChild(newA); } }); } // 初始化 addVisitedStyle(); setInterval(addDownloadLinks, 1000); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址