METHOD, DEVICE AND MOBILE TERMINAL FOR PROCESSIONG WEBPAGE IN NIGHT MODE
First Claim
1. A method for webpage processing in night mode, wherein the method comprises:
- a browser injecting a CSS style of night mode and the corresponding JavaScript into a main file of said webpage via an interface of network request processing as provided by the terminal operating system when the browser is loading a webpage; and
the browser parsing said main file, executing said JavaScript and applying said CSS style in a night mode to the webpage elements of said webpage for display.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, devices, and mobile terminals for webpage processing in a night mode are provided. A method may comprise the browser injecting the CSS style of night mode and the corresponding JavaScript into the main file of said webpage via the interface of network request processing as provided by the terminal operating system when the browser is loading a webpage, and the browser parsing said main file, executing said JavaScript and applying said CSS style in a night mode to the webpage elements of said webpage for display. This can effect night mode and improve a user'"'"'s browsing experience while maintaining the original webpage layout.
-
Citations
18 Claims
-
1. A method for webpage processing in night mode, wherein the method comprises:
-
a browser injecting a CSS style of night mode and the corresponding JavaScript into a main file of said webpage via an interface of network request processing as provided by the terminal operating system when the browser is loading a webpage; and the browser parsing said main file, executing said JavaScript and applying said CSS style in a night mode to the webpage elements of said webpage for display. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A device for webpage processing in a night mode, wherein the device comprises:
-
CSS style injection module, configured to inject the CSS style of night mode and the corresponding JavaScript into the main file of said webpage via the interface of network request processing as provided by the terminal operating system; and CSS style application module, configured to parse said main file, execute said JavaScript and apply said CSS style in a night mode to the webpage elements of said webpage for display. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
Specification