PageSourceSearch

https://www.stadtwerk-am-see.de/de/static/js/HRSysLib/Hilfsfunktionen/OperatingSystem.js?nc=1790327236423

js stadtwerk-am-see.de collected 2026-09-25 20:48:09 UTC 740 bytes, 25 lines download raw bytes

1/****************************************************************************
2// Firma:        Hehner Reus Systems GmbH
3// Projekt:      com.cerno.basis
4// Datei:        OperatingSystem.js
5// Erstellung:   30.05.2022
6// Verwendung:   Abfragen für die Prüfung des Operativen Systems.
7/*****************************************************************************/
8
9'use strict';
10
11const isWindowsOS = () => {
12   return (navigator.appVersion.indexOf('Win') != -1);
13}
14
15const isMacOS = () => {
16   return (navigator.appVersion.indexOf('Mac') != -1);
17}
18
19const isUnixOS = () => {
20   return (navigator.appVersion.indexOf('X11') != -1);
21}
22
23const isLinuxOS = () => {
24   return (navigator.appVersion.indexOf('Linux') != -1);
25}

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.