解析: https://blog.csdn.net/sdta25196/article/details/78799338 W3C: http://www.w3school.com.cn/jsref/dom_obj_location.asp