Method and device for browsing web under weak light with mobile terminal browser
AssigneeTencent Technology (Shenzhen) Company Limited
InventorBaohua Zhang
Life of this patent
Estimating the term…
Abstract
A method and device for browsing web under weak light with a mobile terminal browser are disclosed by the present invention, which belongs to the field of computer. The method includes: receiving a web uniform resource locator (URL) input by a user, downloading a code of the said web based on said URL; embedding a preset code with a function of changing the color of the page element of the web into the codes of the web page; and executing the preset code to change the color of the page element of the web, thus causing the color contrast of the page element of the web reaching a preset contrast for browsing under the weak light source.
Claims15
A method for browsing the web under weak light with a mobile terminal browser, comprising:
- receiving a uniform resource locator (URL), input by a user, of a web page, and downloading codes of the web page according to the URL;
- embedding a predetermined code into the codes of the web page, wherein the predetermined code has a function of changing colors of page elements of the web page;
- executing the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
A device for browsing the web under weak light with a mobile terminal browser, comprising:
- a downloading module configured to receive a uniform resource locator (URL), input by a user, of a web page, and download codes of the web page according to the URL;
- an embedding module configured to embed a predetermined code into the codes of the web page, wherein the predetermined code has a function of changing colors of page elements of the web page;
- and
- a changing module configured to execute the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
A terminal, comprising:
- a storage;
- one or more programs stored in the storage for execution by one or more processors, the one or more programs comprising instructions for:
- receiving a uniform resource locator (URL), input by a user, of a web page, and downloading codes of the web page according to the URL;
- embedding a predetermined code into the codes of the web page, wherein the predetermined code has a function of changing colors of page elements of the web page;
- executing the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
Dependencies are inferred from the claim text.