您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Enables text selection and copying on all parts of Reddit pages by overriding CSS rules.
// ==UserScript== // @name Reddit Full Text Copy Enabler // @namespace http://tampermonkey.net/ // @version 1.1 // @description Enables text selection and copying on all parts of Reddit pages by overriding CSS rules. // @author torch // @match *://*.reddit.com/* // @grant GM_addStyle // @run-at document-start // @license MIT // ==/UserScript== (function() { 'use strict'; // This function injects CSS that overrides any "user-select: none" rules. // By using "!important", we ensure this style takes precedence. // It is applied to all elements (*) on the page. GM_addStyle(` * { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; } `); })();