NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name [Case360] Remove maxlenght QueryDefinition
// @namespace
// @version 0.2
// @description Remove maxlenght element from QueryDefinition textarea while editing a query
// @author Wout Van Tendeloo
// @license MIT
// @copyright 2017, Wout Van Tendeloo
// @match http*://*/*
// @grant none
// ==/UserScript==
(function() {
var i,myInputs = document.getElementsByName("QueryDefinition");
for (i=0;i<myInputs.length;i++) {
if ( (myInputs[i].tagName.toLowerCase()=="textarea")){
myInputs[i].removeAttribute('maxlength');
}
}
})();