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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com