The following tables display values returned by JavaScript properties of system settings. Red characters signal catched exceptions.

You can clone the code from GitHub:

$ git clone https://github.com/CarlOrff/protocoljs.git

URL

PropertyOutput
location.hash
location.hostingram-braun.net
location.hostnameingram-braun.net
location.hrefhttps://ingram-braun.net/erga/know-your-browser-by-its-javascript-properties/
location.originhttps://ingram-braun.net
location.pathname/erga/know-your-browser-by-its-javascript-properties/
location.port
location.protocolhttps:
location.search
document.referrer

Table of contents

Platform

PropertyOutput
navigator.appCodeNameMozilla
navigator.appNameNetscape
navigator.appVersion5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
navigator.battery.chargingTypeError: Cannot read properties of undefined (reading 'charging')
navigator.battery.chargingTimeTypeError: Cannot read properties of undefined (reading 'chargingTime')
navigator.battery.dischargingTimeTypeError: Cannot read properties of undefined (reading 'dischargingTime')
navigator.battery.levelTypeError: Cannot read properties of undefined (reading 'level')
navigator.cookieEnabledtrue
navigator.geolocation[object Geolocation]
navigator.languageen-US
navigator.onLinetrue
navigator.platformLinux x86_64
navigator.systemLanguageundefined
navigator.userAgentMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
navigator.getUserMediafunction getUserMedia() { [native code] }
navigator.mozGetUserMediaundefined
navigator.msGetUserMediaundefined
navigator.webkitGetUserMediafunction webkitGetUserMedia() { [native code] }

Table of contents

Browser window

PropertyOutput
defaultStatusReferenceError: defaultStatus is not defined
history.length2
innerHeight720
innerWidth1280
length0
locationbar.visibletrue
menubar.visibletrue
name
offscreenBufferingtrue
outerHeight720
outerWidth1280
pageXOffset0
pageYOffset0
personalbar.visibletrue
scrollbars.visibletrue
status
statusbar.visibletrue
toolbar.visibletrue

Table of contents

Screen

PropertyOutput
screen.availHeight720
screen.availLeft0
screen.availTop0
screen.availWidth1280
screen.colorDepth24
screen.height720
screen.pixelDepth24
screen.width1280
screenLeft0
screenTop0
screenX0
screenY0

Table of contents

Performance

PropertyOutput
performance.mark("test_mark")[object PerformanceMark]
performance.measure("test_mark")[object PerformanceMeasure]
performance.clearMarks("test_mark")undefined
performance.getEntriesByType("mark")
performance.getEntriesByType("measure")[object PerformanceMeasure],[object PerformanceMeasure]
performance.getEntriesByName("test_mark")[object PerformanceMeasure],[object PerformanceMeasure]
performance.now()1170.4000000953674
performance.toJSON()[object Object]
performance.memory.jsHeapSizeLimit3760000000
performance.memory.totalJSHeapSize10000000
performance.memory.usedJSHeapSize10000000
performance.navigation.redirectCount1
performance.navigation.type0
performance.timing.connectEnd1742985922317
performance.timing.connectStart1742985922317
performance.timing.domainLookupEnd1742985922317
performance.timing.domainLookupStart1742985922317
performance.timing.domComplete0
performance.timing.domContentLoadedEventEnd1742985923032
performance.timing.domContentLoadedEventStart1742985923032
performance.timing.domInteractive1742985922818
performance.timing.domLoading1742985922775
performance.timing.fetchStart1742985922317
performance.timing.loadEventEnd0
performance.timing.loadEventStart0
performance.timing.msFirstPaintundefined
performance.timing.navigationStart1742985921874
performance.timing.redirectEnd1742985922317
performance.timing.redirectStart1742985921874
performance.timing.requestStart1742985922319
performance.timing.responseEnd1742985922771
performance.timing.responseStart1742985922770
performance.timing.secureConnectionStart0
performance.timing.unloadEventEnd0
performance.timing.unloadEventStart0

Table of contents

Plugins

#namedescriptionfilenamelength (# MIME)

Table of contents

MIME types

#typedescriptionsuffixesenabledPlugin

Table of contents

Know your browser by its JavaScript properties! 1