PageSourceSearch

https://armada.buzz/standalone.js

js armada.buzz collected 2026-10-02 00:26:29 UTC 596 bytes, 18 lines download raw bytes

1/*
2 * Standalone (home-screen PWA) launch marker. Marks the launch on <html>
3 * before first paint so CSS can scroll-lock the shell (see index.css).
4 *
5 * External rather than inline because index.html carries a strict
6 * Content-Security-Policy whose `script-src` permits no inline script. Loaded
7 * from <head> in document order, like theme.js.
8 */
9(function () {
10  "use strict";
11
12  if (
13    window.matchMedia("(display-mode: standalone), (display-mode: fullscreen)").matches ||
14    window.navigator.standalone === true
15  ) {
16    document.documentElement.classList.add("standalone");
17  }
18})();

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.