PageSourceSearch

https://diplomaticacademy.am/js/tabzebra.js

js diplomaticacademy.am collected 2026-10-08 05:09:48 UTC 763 bytes, 39 lines download raw bytes

1function fgetAllDataTables()
2{
3	if (!document.getElementsByTagName) return false;
4
5	var eleTables = document.getElementsByTagName("table");
6
7	for (var i=0; i < eleTables.length; i++)
8	{
9		if (eleTables[i].className == "dipcrs-data")
10		{
11			fStripes(eleTables[i]);
12		}
13	}
14}
15
16function fStripes(eleTable)
17{
18	var eleTableRows = eleTable.getElementsByTagName("tr");
19
20	for (var i=1; i < eleTableRows.length; i++)
21	{
22		eleTableRows[i].className = "dipcrstrcolor";
23		i++;
24	}
25}
26
27function addLoadEvent(func) {
28  var oldonload = window.onload;
29  if (typeof window.onload != 'function') {
30    window.onload = func;
31  } else {
32    window.onload = function() {
33      oldonload();
34      func();
35    }
36  }
37}
38
39addLoadEvent(fgetAllDataTables);

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.