Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal

A web browsing and frame technology, applied in the field of mobile communications, can solve the problems of not being able to provide better user experience, unfavorable expansion and maintenance, and not being able to change the typesetting method of the browser.

Active Publication Date: 2012-09-26
ALIBABA (CHINA) CO LTD
View PDF5 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current implementation of the charming browser has these shortcomings: First, there is no general framework to support page conversion similar to the forum mode. If you want to add a reading mode or a novel mode in the future, you also need to continue to use hard codes. Not conducive to future expansion and maintenance
Although these extensions can make the page layout more beautiful b

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
  • Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal
  • Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal
  • Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0053] The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0054] figure 1 A flow chart of a web page browsing method based on the WebApp framework according to the first embodiment of the present invention is shown.

[0055] Before using the web browsing method of the present invention for web browsing, firstly, according to the characteristics of the forum mode page to be customized, a first JS application (that is, a first JS application file) and a second JS application (that is, a second JS application) are compiled. application file) WebApp installation package. The first JS application and the second JS application are files for storing JavaScript scripts, and are formed by Content Script.

[0056] The first JS application is set to be called after the construction of the HEAD node is completed and is used to determine the forum type of the current web page. The first JS application is con...

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 executing an extended JavaScript by using an extended JS interface. The method comprises the following the steps: inquiring an extension program whether to execute the extended JavaScript at a predetermined time when a webpage is loaded, wherein the extension program is loaded when a browser is started up; the browser assembles the extended JS interface according to an open API when determining that the extended JavaScript is needed to be executed; executing the extended JavaScript by using the extended JS interface. According to the invention, browsing mode and layout mode of a browser can be changed dynamically according to content requirements of a webpage in the form of extension programs, so that browsing experience of users is improved.

Description

technical field [0001] The present invention relates to the field of mobile communication, and more specifically, to a webpage browsing method based on a WebApp framework, a WebApp framework, a method and a device for executing JavaScript by using an extended interface, and a mobile terminal having the above-mentioned WebApp framework or the above-mentioned JavaScript execution device. Background technique [0002] At present, when browsing web content on a mobile terminal, since the original web page in the web server has many redundant elements, and the display screen of the mobile terminal is small, in this case, if the original web page is not specially processed , when displayed on a mobile terminal, there will be problems of unsightly typesetting and complicated display, which will greatly affect the user experience. [0003] At present, many mobile phone browsers, such as QQ browser, charming browser, and UC browser, will customize the forum display for various forums...

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
IPC IPC(8): G06F17/30G06F17/25G06F40/14G06F40/189
CPCG06F9/44526G06F9/4443G06F17/30G06F9/45508G06F16/9577G06F40/14G06F16/00
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