Selectable

Allows you to copy all the texts! Inspired by Chrome extension https://chrome.google.com/webstore/detail/selectable-for-fanfiction/jcidlhgdoojamkbpmhbpgldmajnobefd/related

As of 2022-02-03. See the latest version.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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);
})();