您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
makes it faster to go through lots of images on the browser
// ==UserScript== // @name FamilySearch Chrome Prerender (FF3) // @version 0.1 // @description makes it faster to go through lots of images on the browser // @author You // @match https://familysearch.org/pal* // @grant none // @namespace https://gf.qytechs.cn/users/12346 // ==/UserScript== $(document).ready(function() { var getMeta = function(attr) { var nextResult = $.grep(imageMeta.properties,function(n) {return n.type.indexOf(attr) >-1}); if(nextResult.length > 0) { return nextResult[0].value; } return null; }; var next = getMeta("next"); var prev = getMeta("prev"); var prerender = (document.referrer == next) ? prev : next; $("body").append("<link rel='prerender' href='" + prerender + "'/>"); $(document).keypress(function(e) { if(e.which == 38) { window.location.href = next; }else if(e.which == 37) { window.location.href = prev; } else if (e.which == 32) { window.location.href = prerender; } }); });
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址