您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds a Removeddit.com link to every comment and post
当前为
// ==UserScript== // @name Reddit - Add Removeddit links // @icon https://www.google.com/s2/favicons?domain=www.reddit.com // @description Adds a Removeddit.com link to every comment and post // @author Arudarin // @version 1.0.0 // @namespace Violentmonkey Scripts // @match *://*.reddit.com/r/*/comments/* // @grant GM_addStyle // @run-at document-end // @require https://unpkg.com/jquery@3/dist/jquery.min.js // @require https://greasyfork.org/scripts/7602-mutation-observer/code/mutation-observer.js // ==/UserScript== (function() { 'use strict'; url = new URL(location.href); url.host = 'www.removeddit.com'; $("ul.flat-list.buttons").append(` <li> <a class="removeddit" href="${url}"> removeddit </a> </li> `); }());