Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Interaction method, device and system between web page script and browser program

A browser program and interactive method technology, applied in the field of computer networks, can solve problems such as inconvenience of plug-ins, and achieve the effect of simplifying the calling process

Active Publication Date: 2016-09-28
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Generally speaking, browsers and plug-ins installed on browsers can call web scripts very easily. However, it is very inconvenient for web scripts to call browsers and plug-ins installed on browsers.

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
  • Interaction method, device and system between web page script and browser program
  • Interaction method, device and system between web page script and browser program
  • Interaction method, device and system between web page script and browser program

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0043] In this example, a description is made by taking a webpage script calling a program corresponding to a browser as an example. Wherein, the webpage script is a JS script, and the main purpose of calling the browser is to obtain the version information of the browser, and display the version information through a script pop-up window. Since there is a certain correspondence between the version information of the browser and the kernel type of the browser, the kernel type of the browser can be determined through the version information. If the determined kernel type is the IE type, it will be called through the external interface in the subsequent process; if the determined kernel type is the Chrome type, it will be called through the API interface in the subsequent process.

[0044] In order to implement the process of JS script calling the browser and obtaining the browser version information, firstly, the GetBrowserVersion function in the JS script needs to call the Get...

example 2

[0057] In this example, it is described by taking the web page script calling the program corresponding to the plug-in installed on the browser as an example. Wherein, this example may be implemented as a separate example, or may be implemented as a follow-up operation after performing the determination of the browser kernel type in Example 1.

[0058] Specifically, in this example, the plug-in installed on the browser is a login manager, and the webpage script is a JS script. The following uses the specific code as an example to introduce the implementation process when the JS script calls the login manager:

[0059] First, the JS script calls the GetAjaxCode method in LoginAssis through the CallBackSID function in the following code. After the GetAjaxCode method is executed, it will call back the CallBack function in the following code, and return the call result to the JS script through the CallBack function .

[0060] Among them, the JS script uses the CallBackSID functi...

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 relates to the field of computer network and discloses a method, device and system for interaction between a webpage script and a browser program. The method comprises the following steps of: receiving a call request, sent by the webpage script and aiming at the browser program, through a preset uniform interface; determining an inner core type corresponding to the browser program and determining a call interface corresponding to the inner core type according to the inner core type; and calling the browser program through the call interface. By using the method, device and system provided by the invention, the problem of complicated operation caused by the fact that the inner core type needs to be determined when the browser program is called by the webpage script in the prior art is solved, and the beneficial effect that browsers with different inner core types can be called uniformly to simplify a call process is achieved.

Description

technical field [0001] The invention relates to the field of computer networks, in particular to an interaction method, device and system between a web page script and a browser program. Background technique [0002] A script (script) is an executable file written in a specific descriptive language according to a certain format, also known as a macro or a batch file. Webpage scripts and tutorial scripts can usually be temporarily called and executed by application programs, and the scripts mentioned in the present invention mainly refer to webpage scripts. Because webpage scripts can not only reduce the scale of webpages and improve the browsing speed of webpages, but also enrich the performance of webpages, such as animations, sounds, etc., various webpage scripts are currently widely used in webpage design. [0003] For example, when the user clicks the E-mail address on the webpage through the browser, the function of automatically calling the mail software such as Outlo...

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/44
Inventor 段培堃杭程任寰
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products