Category: JavaScript BOM

  • JavaScript Screen Object

    The JavaScript screen object holds information of browser screen. It can be used to display screen width, height, colorDepth, pixelDepth etc. The navigator object is the window property, so it can be accessed by: Or, Property of JavaScript Screen Object There are many properties of screen object that returns information of the browser. No. Property Description 1…

  • JavaScript Navigator Object

    The JavaScript navigator object is used for browser detection. It can be used to get browser information such as appName, appCodeName, userAgent etc. The navigator object is the window property, so it can be accessed by: Or, Property of JavaScript navigator object There are many properties of navigator object that returns information of the browser. No. Property…

  • JavaScript History Object

    The JavaScript history object represents an array of URLs visited by the user. By using this object, you can load previous, forward or any particular page. The history object is the window property, so it can be accessed by: Or,   Property of JavaScript history object There are only 1 property of history object. No. Property Description…

  • Window Object

    The window object represents a window in browser. An object of window is created automatically by the browser. Window is the object of browser, it is not the object of javascript. The javascript objects are string, array, date etc. Note: if html document contains frame or iframe, browser creates additional window objects for each frame. Methods of window…

  • Browser Object Model

    The Browser Object Model (BOM) is used to interact with the browser. The default object of browser is window means you can call all the functions of window by specifying window or directly. For example: is same as: You can use a lot of properties (other objects) defined underneath the window object like document, history, screen, navigator,…