Method and device for modifying browser interface of mobile terminal, and mobile terminal

A browser interface and mobile terminal technology, applied in the direction of program control devices, instruments, special data processing applications, etc., can solve problems such as impracticability, and achieve the effect of improving browsing experience

Active Publication Date: 2015-12-02
ALIBABA (CHINA) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this is not possible under the existing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for modifying browser interface of mobile terminal, and mobile terminal
  • Method and device for modifying browser interface of mobile terminal, and mobile terminal
  • Method and device for modifying browser interface of mobile terminal, and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0052] image 3 A flowchart showing a method for modifying a browser interface of a JavaScript-based mobile terminal according to the first embodiment of the present invention.

[0053] Carry out browser interface modification according to JavaScript-based mobile terminal browser interface modification method of the present invention, need refer to as above figure 2 As mentioned above, the JS interface object is preset in the browser client of the mobile terminal.

[0054] After pre-setting the JS interface object, when the user opens the desired web page through the browser, such as image 3 As shown, in step S310, the JS file of the webpage loaded on the browser of the mobile terminal is parsed. That is to say, the JS codes of each JS file included in the web page are analyzed one by one.

[0055] For a JS file, after the parsing of the JS code is completed, in step S320, it is judged whether there is instruction information indicating that the browser interface of the m...

no. 2 example

[0078] Figure 6 A flowchart showing a JavaScript-based method for modifying a browser interface of a mobile terminal according to the second embodiment of the present invention.

[0079] Figure 6 The second example shown in is image 3 A modified embodiment of the first embodiment shown in . Figure 6 What is aimed at is to use a single JS interface object to implement multiple mobile terminal browser interface modification operations, while image 3 What is aimed at is to use a single JS interface object to implement a single mobile terminal browser interface modification operation. under these circumstances, Figure 6 The JS interface object in contains a plurality of JS interface sub-objects, and the interface sub-objects include, for example, an interface sub-object related to skin replacement, an interface sub-object related to a right-click menu and / or an interface sub-object related to a menu panel. By comparison image 3 and Figure 6 It can be seen that Fig...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method for modifying a browser interface of a mobile terminal based on JavaScript. The method comprises the following steps that: when an analyzed file acquired by analyzing a JS file in the loaded web page contains indication information for indicating that the browser interface of the mobile terminal is needed to be modified, a browser kernel acquires parameter information related to the browser interface of the mobile terminal from the analyzed file; the browser kernel calls a preset JS interface object and transmits the acquired parameter information to a browser shell or a browser interface modification module bound with the JS interface object in the browser kernel; and the browser interface modification module modifies the browser interface of the mobile terminal by using the acquired parameter information, wherein the JS interface object has browser interface operation related functions which are bound with the browser interface modification module through a binding module. By the method, a web page developer can modify the browser interface through the preset JS interface object.

Description

technical field [0001] The present invention relates to the field of mobile communication, and more specifically, relates to a JavaScript-based method and device for modifying a browser interface of a mobile terminal, and a mobile terminal provided with the device for modifying the browser interface of a mobile terminal. Background technique [0002] In mobile terminal browsers, the mobile terminal browser interface (UI) usually includes right-click menus, skins and menu panels, etc., such as Figure 1A and Figure 1B shown. Figure 1A shows an example of a right-click menu, and Figure 1B An example of a menu panel is shown. [0003] Usually, the mobile terminal browser interface is provided and generated by the browser by default. The format of this browser interface is relatively fixed, and the content in these interfaces cannot be changed by web developers. Take the right-click menu as an example. Currently, the right-click menu is generated by the browser by default....

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/44G06F17/30
Inventor 梁捷俞永福何小鹏朱顺炎马妙魁
Owner ALIBABA (CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products