Method and device for determining real height of webpage, equipment and medium

The invention provides a method, a device and equipment for determining the real height of a webpage and a medium, and the method comprises the following steps: based on a preset breadth-first algorithm, finding out a minimum element of a target webpage containing a document center position layer by...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: DAI JIANHUI, LI YUHUI, GU XISHUN, DING JIAYI, WAN LIANYU, HONG PEIYUAN, ZHANG HAO, WANG QINGZHAO, FANG ZHENG, SI HANGJIAN, ZHANG CHENGLONG, ZHANG SHUANG, HU SHUNCHENG, JIA YINGJIE, CHEN JIEHUANG, WU XUEQI, LI WEI, LIU LANLING, LI YUNFEI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a method, a device and equipment for determining the real height of a webpage and a medium, and the method comprises the following steps: based on a preset breadth-first algorithm, finding out a minimum element of a target webpage containing a document center position layer by layer; based on the minimum element, identifying a maximum overflow height element in the target webpage; and obtaining the maximum overflow height of the maximum overflow height element and the original page height of the target webpage, and determining the real height of the target webpage according to the maximum overflow height and the original page height. According to the webpage HTML standard, the maximum overflow height element is found out in a traversal mode, then the actual height of the webpage is calculated by adding the original webpage height to the overflow height of the maximum overflow height element, and the problems that in the current webpage evidence obtaining field, due to lack of the actual