PageSourceSearch

https://www.masato07.com/res/js/defaultVD.js

js masato07.com collected 2026-10-04 11:16:02 UTC 1,146 bytes, 33 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function () {
2  const allowedDomains = [];
3  const currentDomain = window.location.hostname.replace(/^www\./, '');
4  const shouldRun = allowedDomains.length === 0 || allowedDomains.includes(currentDomain);
5  if (shouldRun) {
6
7      setTimeout(function () {
8        const timestamp = Date.now();
9        
10        const css = document.createElement('link');
11        css.rel = 'stylesheet';
12        css.href = '/res/js/a8vertiser/a8vertiser.css'+ '?_=' + timestamp;
13        document.head.appendChild(css);
14
15        // Inject JS
16        
17        const js = document.createElement('script');
18        js.src = '/res/js/a8vertiser/a8vertiser.js'+ '?_=' + timestamp;
19        js.onload = function () {
20          // Initialize plugin after JS is loaded
21          new A8vertiser({
22            delaySeconds: 2,
23            jsonUrl: '/res/js/a8vertiser/dataVD.json'+ '?_=' + timestamp,
24            rotateInterval: 10000,
25            startDate: '2025-09-30',
26            endDate: '2025-10-08',
27          });
28        };
29        document.body.appendChild(js);
30      }, 3000);
31
32  }
33});

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.