PageSourceSearch

https://yan5ui.github.io/js/tools/runtime.js

js yan5ui.github.io collected 2026-10-03 10:12:30 UTC 614 bytes, 22 lines download raw bytes

1function footerRuntime() {
2    var startTime = Global.theme_config.footerStart;
3    window.setTimeout("footerRuntime()", 1000);
4    X = new Date(startTime);
5    Y = new Date();
6    T = (Y.getTime() - X.getTime());
7    M = 24 * 60 * 60 * 1000;
8    a = T / M;
9    A = Math.floor(a);
10    b = (a - A) * 24;
11    B = Math.floor(b);
12    c = (b - B) * 60;
13    C = Math.floor((b - B) * 60);
14    D = Math.floor((c - C) * 60);
15    runtime_days.innerHTML = A;
16    runtime_hours.innerHTML = B;
17    runtime_minutes.innerHTML = C;
18    runtime_seconds.innerHTML = D;
19}
20
21
22window.addEventListener('DOMContentLoaded', footerRuntime);

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.