# BOM (Browser object model)
# # Window
# # # Definition
* window is the global variable of JS in the browser environment
* function is the method of window
* Global variables are properties of window
# # Properties
* Document
* location
* History
* Screen
* Navigator
* Innerwidth Document Area width
* Innerheight Document Area height
* Outerwidth browser window width
* Outerheight browser window height
* Name of the window
* Parent Parents window
* Top Level window
* Number of length sub-windows
* Frames A collection of child windows
< Span style= "COLOR: #808080" > < Span style= "COLOR: #808080" > < Span style= "COLOR: #808080" > < Span style= "COLOR: #808080" >cursor:pointer; the cursor is rendered as a hand;
<button onclick= "window.open (' 01s.html/url ', ' is the opening of this window to the name of this window written on ', ' width=400,height=400 ') ' > set the width height of the open window </ Button>
# # # method
* Alert () alert box
* Confirm () Confirmation box
* Prompt () can enter a bullet frame
* SetInterval ()
* Clearinterval ()
* SetTimeout ()
* Cleartimeout ()
* Open () Opens a new window
* Close () Closes the window
* Print () printing
# # location (address)
# # Properties
* href full URL
* Protocol Agreement
* Hostname Host Name
* Port Port number
* Host hostname and port number
* Pathname File path
* Search Query section
* Hash Anchor part
# # # method
* Reload () reloads the current document.
* Assign () Save record
* REPLACE () does not save record
< Span style= "COLOR: #808080" > < Span style= "COLOR: #b22222" >
## history
# # # Property
* length history
## # # Method
* back () fallback step
* Forward () previous
* go (n) forward/Backward N-Step
< Span style= "COLOR: #808080" > < Span style= "COLOR: #808080" > < Span style= "COLOR: #808080" >
## screen
#### Property
* width screen width
* height screen height
/span>
< Span style= "COLOR: #b22222" > < Span style= "COLOR: #b22222" > < Span style= "COLOR: #808080" >
## Navigator (navigation)
#### property
* useragent Platform , browser-related information
* platform platform
# DOM (Document Object model)
# add
# # Browser Kernel
* Kernel should contain render engine \ JS engine
* rendering engine is responsible for rendering HTML and CSS, JS engine is responsible for running JS
* It is now mentioned that the browser kernel can also be a single-finger rendering engine
### Common browser kernel
* webkit (Chrom Safari)
* blink (WebKit, chrome, opera)
* trident ie
* gecko firfox
* kestrel old open gate
### URL URI difference
* uri standard contains URN and URL
* uri: Uniform Resource Identifier
* urn: Uniform Resource name
* url: Uniform Resource Locator
08.30 JavaScript BOM &dom