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()1256.5
performance.toJSON()[object Object]
performance.memory.jsHeapSizeLimit3760000000
performance.memory.totalJSHeapSize10000000
performance.memory.usedJSHeapSize10000000
performance.navigation.redirectCount1
performance.navigation.type0
performance.timing.connectEnd1743601129129
performance.timing.connectStart1743601129129
performance.timing.domainLookupEnd1743601129129
performance.timing.domainLookupStart1743601129129
performance.timing.domComplete0
performance.timing.domContentLoadedEventEnd1743601129925
performance.timing.domContentLoadedEventStart1743601129925
performance.timing.domInteractive1743601129722
performance.timing.domLoading1743601129683
performance.timing.fetchStart1743601129129
performance.timing.loadEventEnd0
performance.timing.loadEventStart0
performance.timing.msFirstPaintundefined
performance.timing.navigationStart1743601128675
performance.timing.redirectEnd1743601129129
performance.timing.redirectStart1743601128675
performance.timing.requestStart1743601129130
performance.timing.responseEnd1743601129681
performance.timing.responseStart1743601129678
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