Selectable

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

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

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