PageSourceSearch

https://thinkingcap.com/js/textarea.js?build=3.1.9769.30709

js thinkingcap.com collected 2026-10-02 18:11:27 UTC 706 bytes, 21 lines download raw bytes

1var ns6=document.getElementById&&!document.all
2
3function restrictinput(maxlength,e,placeholder){
4	if (window.event&&event.srcElement.value.length>=maxlength){
5		return false
6	}     
7
8	else if (e.target&&e.target==eval(placeholder)&&e.target.value.length>=maxlength){
9		var pressedkey=/[a-zA-Z0-9\.\,\/]/ //detect alphanumeric keys
10		if (pressedkey.test(String.fromCharCode(e.which)))
11			e.stopPropagation()
12	}
13}
14
15function limitsize(theform,thelimit){
16	if (document.all)
17		eval(theform).onkeypress=function(){ return restrictinput(thelimit,event,theform)}
18	else if (ns6)
19		document.body.addEventListener('keypress', function(event) { restrictinput(thelimit,event,theform) }, true); 
20}
21

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.