您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Allows you to copy all the texts! Inspired by Chrome extension https://chrome.google.com/webstore/detail/selectable-for-fanfiction/jcidlhgdoojamkbpmhbpgldmajnobefd/related
// ==UserScript== // @name Selectable // @namespace https://greasyfork.org/en/users/703184-floriegl // @version 1.0 // @description Allows you to copy all the texts! Inspired by Chrome extension https://chrome.google.com/webstore/detail/selectable-for-fanfiction/jcidlhgdoojamkbpmhbpgldmajnobefd/related // @author floriegl // @match http://*/* // @match https://*/* // @license MIT // @run-at document-start // @grant unsafeWindow // ==/UserScript== (function() { 'use strict'; function setUserSelect() { document.querySelectorAll('*').forEach(function(ele) { const compStyle = window.getComputedStyle(ele, null); if(compStyle.webkitUserSelect == 'none' || compStyle.userSelect == 'none') { ele.style.setProperty('user-select', 'auto', 'important'); } }); } window.setTimeout(setUserSelect, 1000); })();