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? Inversion Therapy Table
Stretch out your back and relieve your back muscles with inversion therapy. This device counteracts the forces of gravity on the body by decompressing and elongating the spine. By using this product just ten minutes a day, you can be well on your way to improved circulation and posture while relieving muscle aches, back pain and stress.
$$ Check price (1,700+ reviews) More Back Problems resources Build modern and responsive webpages The Modern Web
$ Check price (30+ 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 -