PageSourceSearch

https://shapography.com/scripts/datasetTable.js

js shapography.com collected 2026-09-29 09:01:40 UTC 994 bytes, 30 lines download raw bytes

1function createDatasetTable(normalised=true){
2    if(!data_array || data_array.length==0){
3        alert("No data has been loaded");
4        hideModal();
5        return;
6    }
7    let table=document.getElementById('datasetTable');
8    let datasetArray=null;
9    //clear first
10    table.innerHTML="";
11    if(normalised){
12        datasetArray=data_array;
13    }else{
14        datasetArray=data_arrayOriginal;
15    }
16    for(let i=0;i<datasetArray.length;i++){
17        let row=document.createElement("tr")
18        table.appendChild(row);
19        for(let j=0;j<datasetArray[i].length;j++){
20            let val;
21            if(i==0 || j==0){
22                val=datasetArray[i][j].toString().substr(0,12)
23                row.innerHTML+=`<th class="table-header">${val} <span class="header-text">${datasetArray[i][j].toString()}</span></th>`
24            }else{
25                val=datasetArray[i][j].toString().substr(0,6)
26                row.innerHTML+=`<td>${val}</td>`
27            }
28        }
29    }
30}

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.