September 2024
Beginner to intermediate
985 pages
35h 37m
English
So far, you’ve seen how you can access and partially change information tied to the browser window, the current URL, and the browsing history. But if you want to access general browser information (browser name, browser manufacturer, etc.), use the navigator property of the window object.
The object of the Navigator type stored in this property provides all sorts of such information (see Table 8.11), but some of it should be treated with caution or is marked as obsolete and should no longer be used.
|
Property |
Description |
|---|---|
|
appCodeName |
Contains the internal codename of the current browser (not reliable, because every browser returns the value Mozilla). |
|
appName |
Contains ... |
Read now
Unlock full access