您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Make the links crystal clear, without referrer crap.
当前为
// ==UserScript== // @name Replace the Viglink ad link redirector in Proboards // @description Make the links crystal clear, without referrer crap. // @author Swyter // @namespace https://greasyfork.org/users/4813-swyter // @match *://*.proboards.com/* // @version 2 // @grant none // @run-at document-start // ==/UserScript== document.addEventListener('DOMContentLoaded', function() { for (a of document.querySelectorAll("a[href*='redirect.viglink.com']")) { a.href = decodeURIComponent(a.href.substr(68)); console.log("Replaced redirector link: ", a.href) } for (a of document.querySelectorAll("a:not([class^=norewrite])")) { a.classList.add("norewrite") console.log("Vaccinating link: ", a.href) } })