Notes on Common Browser environment variables:
1. Window object: it describes a browser window;
Localstorage object: Local Storage, three methods: getitem, set (Key, value), remove (key) ==> document..doc umentelement :. addbehavior ('# default # userdata'); store. save ('local storage variable name'); => set: store. setattribute (Key, value); store. save (store_name); get: store. load (store_name); Return store. getattribute (key); remove: store. removeattribute (key); store. save (store_name );
2.doc ument object: access all elements of JavaScript HTML documents through HTML Dom. HTML dom (Document Object Model) when a webpage is loaded, the browser creates a Document Object Model for the page ). Tree where the HTML Dom model is constructed as an object
3. Navigator: appname appversion of the browser currently in use
4.
Browser Environment Variables