您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
豆瓣读书直达江苏大学图书馆,方便找书
当前为
// ==UserScript== // @name 豆瓣读书直达江苏大学图书馆 // @namespace https://tmr.js.org/ // @more https://github.com/ttttmr/UserJS // @version 0.2 // @description 豆瓣读书直达江苏大学图书馆,方便找书 // @author tmr // @include https://book.douban.com/* // @grant none // ==/UserScript== (function() { 'use strict'; let title=document.getElementsByTagName('h1')[0].children[0].innerText; let info=document.getElementById('info'); let liblink=document.createElement('a'); liblink.href='http://huiwen.ujs.edu.cn:8080/opac/openlink.php?strSearchType=title&match_flag=forward&historyCount=1&strText='+title+'&doctype=ALL&with_ebook=on&displaypg=20&showmode=list&sort=CATA_DATE&orderby=desc&location=ALL'; liblink.target='_blank'; liblink.innerText='去江苏大学图书馆搜索'; info.appendChild(liblink); })();