PageSourceSearch

https://houseofbeautifulbusiness.com/js/detect-browser.js

js houseofbeautifulbusiness.com collected 2026-10-03 19:58:35 UTC 900 bytes, 28 lines download raw bytes

1////
2// Not the best practice here because it excludes mobile browsers - Android Mobile & Mobile Safari
3// Moreover, "window.platform" is "undefined" on Safari browsers
4////
5/* var supportedBrowsers = {
6  Chrome: '70',
7  Firefox: '63',
8  'Microsoft Edge': '79', // Chromium Version
9  Safari: '11',
10  // Mobile
11  'Samsung Internet': '9',
12  'Chrome Mobile': '70',
13  'Firefox Mobile': '63',
14};
15
16window.addEventListener('DOMContentLoaded', function () {
17  var browser = window.platform.name;
18  var version = window.platform.version;
19  var isSupportedBrowser = parseInt(version) >= parseInt(supportedBrowsers[browser]);
20
21  if (!isSupportedBrowser) {
22    var unsupportedBrowserOverlay = document.getElementById('unsupported-browser');
23    unsupportedBrowserOverlay.style.display = 'block';
24    unsupportedBrowserOverlay.style.visibility = 'visible';
25    document.body.style.overflow = 'hidden';
26  }
27});
28 */

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.