您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Overrides the new nag screen on geocaching.com's cache listings when clicking external urls. This also adds target="_blank" attribute to any such links so that they open in a new tab.
当前为
v// ==UserScript== // @name geocaching.com external url warning remover // @namespace https://greatest.deepsurf.us/users/870516 // @match https://www.geocaching.com/geocache/* // @match https://www.geocaching.com/seek/cache_details.aspx* // @version 1.0 // @author mustakorppi // @license MIT // @description Overrides the new nag screen on geocaching.com's cache listings when clicking external urls. This also adds target="_blank" attribute to any such links so that they open in a new tab. // ==/UserScript== var addresses = document.querySelectorAll("#ctl00_ContentBody_LongDescription a") for (var i = 0; i < addresses.length; i++) { addresses[i].addEventListener("click", function() { event.stopImmediatePropagation(); },true); addresses[i].setAttribute('target', '_blank'); }