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.
Loads specific URL from history list. Aching back from coding all day? Foam Seat Cushion
This foam seat cushion relieves lowerback pain, numbness and pressure sores by promoting healthy weight distribution, posture and spine alignment. Furthermore, it reduces pressure on the tailbone and hip bones while sitting. Perfect for sitting on the computer desk for long periods of time.
$ Check price (385+ reviews) More Front-end resources
Thank you for reporting bugs to email@example.com.
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 -