document 代表目前文件,可取得 title、URL、lastModified、referrer,也可存取 forms、images、links、anchors 等集合。
location 代表目前網址,可讀取 hash、host、hostname、href、pathname、port、protocol、search。若要換頁且不保留歷史紀錄,可用 replace。
navigator 可取得 appName、appVersion、language、platform、userAgent、plugins 等瀏覽器資訊。
screen 可取得螢幕寬高、可用寬高與色彩深度。開新視窗時,availWidth 與 availHeight 常用來計算可用區域。