PageSourceSearch

https://www.tecnoteca.com/widgets/js/textcount.js

js tecnoteca.com collected 2026-10-02 06:16:23 UTC 548 bytes, 15 lines download raw bytes

1// Original:  Ronnie T. Moore
2// Dynamic 'fix' by: Nannette Thacker
3function textCounter(field, countfield, maxlimit) {
4  var fieldval = jQuery(field).val();
5  var counterElem = jQuery('input[name="' + countfield + '"]');
6  if (fieldval.length > maxlimit) {
7    // if too long...trim it!
8    jQuery(field).val(fieldval.substring(0, maxlimit));
9    counterElem.css('border-color', 'red');
10  } else {
11    counterElem.css('border-color', '#ccc');
12  }
13  // update 'characters left' counter
14  counterElem.val(Math.max(maxlimit - fieldval.length, 0));
15}

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.