auto copy

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

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

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