1(function () { 2 'use strict'; 3 var endpoint = '/navi3/browser-event/common/collect'; 4 var path = window.location.pathname || '/'; 5 var site = (window.location.hostname || '').split('.')[0].toLowerCase(); 6 if (!/^navi[a-z0-9]{2,32}$/.test(site)) return; 7 function id(prefix) { 8 var a = new Uint32Array(4); 9 if (window.crypto && window.crypto.getRandomValues) window.crypto.getRandomValues(a); 10 return prefix + '_' + Date.now().toString(36) + '_' + Array.prototype.join.call(a, ''); 11 } 12 var event = { 13 measurement_version: 'navi3.browser-access.v1', 14 site_code: site, 15 page_path: path, 16 occurred_at: new Date().toISOString(), 17 page_instance_id: id('page_common'), 18 hourly_dedup_key: id('hour_common') 19 }; 20 try { 21 fetch(endpoint, { method: 'POST', credentials: 'same-origin', headers: {'Content-Type': 'application/json'}, body: JSON.stringify(event), keepalive: true }); 22 } catch (_) {} 23}());
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.