chdyiboke / weekly

issue and share weekly
5 stars 1 forks source link

如何获取html元素节点总个数? #69

Open chdyiboke opened 3 years ago

chdyiboke commented 3 years ago

document.getElementsByTagName("*").length

chdyiboke commented 3 years ago

统计:(大约) keeper 70 keeperadmin 400 v-editor 500 https://dycharts.com/ 2000 https://www.canva.cn/ 6000 https://www.gaoding.com/ 10000

单页面成品有1000个节点,已经很大啦。