PageSourceSearch

https://www.hotbench.tv/javascripts/events.js

js hotbench.tv collected 2026-10-02 06:36:37 UTC 559 bytes, 40 lines download raw bytes

1
2function listen(o, e, f) {
3
4  o = typeof(o) == 'object' ? o : document.getElementById(o);
5
6  if( o ) {
7
8    if( o.addEventListener ) {
9
10      o.addEventListener(e, f, false);
11
12      return true;
13
14    } else if( o.attachEvent ) {
15
16      o.attachEvent('on' + e, f);
17
18      return true;
19
20    }
21
22  }
23
24  return false;
25
26} // ! listen()
27
28
29
30function source(e) {
31
32  if( !e ) { var e = window.event; }
33
34  var o = e.target ?
35          e.target
36        : e.srcElement;
37
38  return o.nodeType != 3 ? o : o.parentNode;
39
40} // ! source()

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.