PAGE DISPLAY METHOD AND DEVICE
First Claim
1. A page display method, comprising:
- in response to a click operation on a browser by a user, updating, by the browser, a current page display rule according to parameters downloaded from a server corresponding to the browser, and classifying and parsing the updated display rule;
receiving, by the browser, a text from a target page, wherein the text contains tag strings used for displaying the target page;
when the browser parses a predetermined tag string in the tag strings, invoking, by the browser, the classified and parsed page display rule corresponding to the predetermined tag string to display the page.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention discloses a page display method and device. The method comprises: in response to a click operation on a browser by a user, updating, by the browser, a current page display rule according to parameters downloaded from a server corresponding to the browser, and classifying and parsing the updated display rule; receiving, by the browser, a text from a target page, wherein the text contains a tag string used for displaying the target page; when the browser parses a predetermined tag string in the tag strings, invoking, by the browser, the classified and parsed page display rule corresponding to the predetermined tag string to display the page. The technical solution according to the present invention accelerates the display speed of a target page, thus saving network traffic and improving the user experience.
-
Citations
20 Claims
-
1. A page display method, comprising:
-
in response to a click operation on a browser by a user, updating, by the browser, a current page display rule according to parameters downloaded from a server corresponding to the browser, and classifying and parsing the updated display rule; receiving, by the browser, a text from a target page, wherein the text contains tag strings used for displaying the target page; when the browser parses a predetermined tag string in the tag strings, invoking, by the browser, the classified and parsed page display rule corresponding to the predetermined tag string to display the page. - View Dependent Claims (3, 4, 5, 6, 7)
-
-
2. The method according to claim 1, wherein, in response to the click operation on the browser by a user, updating the current page display rule according to the parameters downloaded from the server corresponding to the browser, and classifying and parsing the updated page display rule, further includes:
-
retrieving, by the browser, the current page display rules; updating, by the browser, the current page display rules according to the parameters; classifying, by the browser, the updated page display rules; and string is an image tag string, an iframe tag string or a js tag string, the page display rule corresponding to the image tag string, iframe tag string, or the js tag string as the whitelist rule and/or the blacklist rule; a first determining unit configured to determine the predetermined tag string that the uniform resource locator (URL) in the predetermined tag string does not match the whitelist rule and/or blacklist rule; and a display unit configured to display the page elements corresponding to the predetermined tag string determined by the first determining unit.
-
-
8. A page display device, comprising:
-
a processing module configured to respond a click operation on a browser by a user, to update a current page display rule according to parameters downloaded from the server corresponding to the browser, and to classify and parse the updated page display rule; a receiver module configured to receive text from the target page, wherein the text contains tag strings for displaying the target page; and a display module configured to, when parsing a predetermined tag string in the tag strings, invoke the classified and parsed page display rule corresponding to the predetermined tag string and to display the target page. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer program, which can be executed by a computing device to implement the page display methods according to claims 1 through 6.
-
14-1. (canceled)
-
15. A computer readable medium storing processor-executable program code, when being executed, for the processor to perform a page display method comprising:
-
in response to a click operation on a browser by a user, updating, by the browser, a current page display rule according to parameters downloaded from a server corresponding to the browser, and classifying and parsing the updated display rule; receiving, by the browser, a text from a target page, wherein the text contains a tag string used for displaying the target page; when the browser parses a predetermined tag string in the tag strings, invoking, by the browser, the classified and parsed page display rule corresponding to the predetermined tag string to display the page. after classifying the page display rules, parsing, by the browser, the updated page display rules according to parsing methods corresponding to the classification, retrieving and saving the classified and parsed page display rules corresponding to the predetermined tag strings. - View Dependent Claims (16, 17, 18, 19, 20)
-
-
15-2. A non-transitory computer readable medium storing processor-executable program code, when being executed, for the processor to perform a page display method comprising:
-
in response to a click operation on a browser by a user, updating, by the browser, a current page display rule according to parameters downloaded from a server corresponding to the browser, and classifying and parsing the updated display rule; receiving, by the browser, a text from a target page, wherein the text contains a tag string used for displaying the target page; when the browser parses a predetermined tag string in the tag strings, invoking, by the browser, the classified and parsed page display rule corresponding to the predetermined tag string to display the page.
-
Specification