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()1205.5999999642372
performance.toJSON()[object Object]
performance.memory.jsHeapSizeLimit3760000000
performance.memory.totalJSHeapSize10000000
performance.memory.usedJSHeapSize10000000
performance.navigation.redirectCount1
performance.navigation.type0
performance.timing.connectEnd1745661590332
performance.timing.connectStart1745661590332
performance.timing.domainLookupEnd1745661590332
performance.timing.domainLookupStart1745661590332
performance.timing.domComplete0
performance.timing.domContentLoadedEventEnd1745661590966
performance.timing.domContentLoadedEventStart1745661590966
performance.timing.domInteractive1745661590829
performance.timing.domLoading1745661590791
performance.timing.fetchStart1745661590332
performance.timing.loadEventEnd0
performance.timing.loadEventStart0
performance.timing.msFirstPaintundefined
performance.timing.navigationStart1745661589769
performance.timing.redirectEnd1745661590332
performance.timing.redirectStart1745661589769
performance.timing.requestStart1745661590333
performance.timing.responseEnd1745661590788
performance.timing.responseStart1745661590787
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