Page rearrangement method and computing equipment
The invention discloses a page rearrangement method and computing equipment. The method comprises the steps of triggering loading of a source page according to a page access request; injecting a rearrangement script, running the rearrangement script to search a first target page element in the DOM f...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a page rearrangement method and computing equipment. The method comprises the steps of triggering loading of a source page according to a page access request; injecting a rearrangement script, running the rearrangement script to search a first target page element in the DOM file of the source page, and deleting the first target page element; according to the processed DOM file, rearranging the source page to obtain a target page; and presenting the target page. By using the scheme provided by the embodiment of the invention, the target page is enabled to retain effective information which is beneficial to making a decision by a user and does not contain invalid information such as advertisements, backflow inlets and UGC, interference of the invalid information is eliminated, and the user can make a decision conveniently.
本发明公开了一种页面重排方法及计算设备。该方法包括:根据页面访问请求,触发源页面的加载;注入重排脚本,运行所述重排脚本以查找所述源页面的DOM文件中的第一目标页面元素,将所述第一目标页面元素进行删除处理;根据处理后的DOM文件,对所述源页面进行重排得到目标页面;呈现所述目标页面。利用本发明实施例提供的方案,使得目标页面保留利于用户作 |
---|