There are a handful of other Browser Object Models that we will briefly go over here.
window.screen object obtains information about the user's screen.
Width and height of the available screen (excluding taskbars).
Width and height of the available screen (with taskbars).
Number representing the bit depth of the color palette on user's screen. Navigator
window.navigator object is used to query a number of elements about the visitor's browser and environment.
Determine language of browser.
Check name of browser.
Returns geolocation object used to locate user's position.
Determines if user is online.
Which platform user is using (OS X, Windows, Linux).
Determines whether cookies are enabled.
Check if user's Java is enabled. Location
window.location object provides information about the current URL.
Returns anchor part of a URL.
Returns hostname and port number of URL.
Returns path or nort number of URL.
Returns hostname of a URL.
Returns protocol, hostname and portname of a URL.
Loads new document.
Reload current document.
Replace current document. History
window.history gives you information regarding the user's history. Due to security concerns, we can't directly access which URL's our users have visited, but we may find other parameters.
Return the length of the user's history.
Move the user forward or back a page.
$ Check price (385+ reviews) More Front-end resources Aching back from coding all day? Prism Glasses
Ever feel achy from sitting crunched up on your computer table? Try lying down with these optical glasses that allow you to work on your laptop while lying flat on your back. This is the perfect solution with those with limited mobility or those who wish to prevent neck cramps and back strains.
$ Check price (128+ reviews) More Back Problems resources
Thank you for reporting bugs to firstname.lastname@example.org.
Disclaimer: Snipcademy is supported by your purchases of our recommended products through Amazon Services LLC and the ads posted on our website. All products listed are thoroughly researched, curated and reviewed so that viewers are given the best recommendations. Thank you and happy browsing!
Med - Code - Bioinformatics - Golf - Cat - Money - Astro -