can-dy-jack / can-dy-jack.github.io

个人博客仓库
https://kartjim.cn
3 stars 0 forks source link

js奇淫技巧2 | 陈科衡的博客 #20

Closed can-dy-jack closed 3 years ago

can-dy-jack commented 3 years ago

https://kartjim.top/js/%E5%89%8D%E7%AB%AF/js%E5%A5%87%E6%B7%AB%E6%8A%80%E5%B7%A72/#more

DOM123456graph LRA[window] --> B[document]A --> C[location]A --> D[history]A --> E[navigator]A --> F[... ...] 层级数最顶端的是浏览器window对象,它是页面的DOM表示中一切对象的父对象。window对象有一些子对象: document对象任何HTML页面都