PageSourceSearch

https://www.oneman.gr/wp-content/themes/oneman/assets/js/btw-ua-parser.js?ver=1790156665

js oneman.gr collected 2026-09-24 17:34:46 UTC 525 bytes, 12 lines download raw bytes

1let parser = new UAParser();
2
3const btwUaParser = {
4  parser: parser,
5  isMobileRegex: new RegExp( 'android|ios|windows-?(phone|mobile)', 'g' ),
6  os: parser.getOS(),
7  matchedOsName(){ return this.os.name.toLowerCase().match( /android|ios|windows\s?(phone|mobile)?|mac os/g ) },
8  osName(){ return this.matchedOsName() ? this.matchedOsName().shift().replace( /\s/g, '-' ) : null },
9  isMobile(){ return this.isMobileRegex.test( this.osName() ) || window.innerWidth < 1100 },
10}
11
12window.btwUaParser = btwUaParser;

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.