Tries to prevent script-initiated selection alterations
当前为
// ==UserScript==
// @name Disable artificial selections
// @description Tries to prevent script-initiated selection alterations
// @namespace http://eldar.cz/myf/
// @license MIT
// @version 1.0.3
// @grant none
// ==/UserScript==
Selection.prototype.addRange
= HTMLTextAreaElement.prototype.select
= HTMLInputElement.prototype.select
= function(){
console.log && console.log('Artificial selection disabled at', this);
return false
}