您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds links to search for books at the Minuteman Library Network in Massachusetts
// ==UserScript== // @name Minuteman Links // @namespace https://gf.qytechs.cn // @description Adds links to search for books at the Minuteman Library Network in Massachusetts // @include https://www.goodreads.com/* // @include http://www.goodreads.com/* // @version 1.9 // @grant none // ==/UserScript== var zBooks=jQuery('tr.bookalike td.title .value a'); for (var i = 0, len = zBooks.length; i < len; i++) { var book=zBooks[i]; jQuery("<p><a target='_blank' href='http://find.minlib.net/iii/encore/search/C__S"+encodeURIComponent(book.title)+"__Orightresult__U'>Find at Library</a></p>").appendTo(book.parentNode); } http://find.minlib.net/iii/encore/search/C__Sfoo?lang=eng&suite=cobalt var zAuth=jQuery('tr.bookalike td.author .value a'); for (var i = 0, len = zAuth.length; i < len; i++) { var author=zAuth[i]; jQuery("<p><a target='_blank' href='http://find.minlib.net/iii/encore/search/C__S"+encodeURIComponent(author.textContent)+"__Orightresult__U'>Find at Library</a></p>").appendTo(author.parentNode); } var zID=jQuery('#bookTitle'); if(zID[0]){ jQuery("<p><a target='_blank' href='http://find.minlib.net/iii/encore/search/C__S"+encodeURIComponent(zID[0].textContent.strip())+"__Orightresult__U'>Find at Library</a></p>").appendTo(zID[0].parentNode.children[1]) }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址