Browser detect
show page contents
TopExampleThe scriptBrowser detectionPropertiesExample: SafariExample: OperauserAgent and vendorDetection orderVersion numberversionSearchuserAgent and appVersionOperating systemnavigator
show site navigation
Loading site navigation; please wait...
See section 3D of the book.
The version detect doesn't work in Safari and OmniWeb because these browsers don't include comprehensible version information in their identity string.
This page has been translated into Turkish.
A useful but often overrated JavaScript function is the browser detect. Sometimes you want to give specific instructions or load a new page in case the viewer uses, for instance, Safari.