Greasy Fork is available in English.

Disable artificial selections

Tries to prevent script-initiated selection tweaks.

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        Disable artificial selections
// @description Tries to prevent script-initiated selection tweaks.
// @namespace   http://eldar.cz/myf/
// @license     MIT
// @version     1.0.4
// @run-at      document-start
// @grant       none
// ==/UserScript==

Selection.prototype.addRange = function () {
	console.warn('This Selection method is deliberately disabled by user.');
}

HTMLTextAreaElement.prototype.select =
HTMLInputElement.prototype.select =
function(){
	console.warn('Forced artificial selection of',this,'value is deliberately disabled by user. Focusing instead.');
	this.focus();
}