auto copy

auto copy selected text - Note: Please remember after you select your text you ---> one click your selected text for copy <----

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==
// @id          Ali Mikhak
// @name        auto copy
// @namespace   auto copy
// @description auto copy selected text - Note: Please remember after you select your text you ---> one click your selected text for copy <----
// @version     1.3
// @include     http*
// @include file*
// @run-at      document-end
// @grant GM_setClipboard
// ==/UserScript==

if (typeof GM_setClipboard != 'function') alert('Your UserScript client has no GM_setClipboard support');

document.addEventListener('mouseup',
	function(e) {
		if (e.button != 0) return;
	GM_setClipboard(getSelection().toString());
	}, false);