Page interaction method and device
A page interaction and page technology, applied in the computer field, can solve the problems of wasting system resources, low efficiency, browser incompatibility, etc., and achieve the effect of saving system resources, improving efficiency, and saving resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] refer to figure 1 , shows a flowchart of steps of a page interaction method according to Embodiment 1 of the present invention.
[0029] The page interaction method of this embodiment includes the following steps:
[0030] Step S102: Accept the calling instruction of the page interaction plug-in.
[0031] The call instruction is used to call an interface, function, file, or component using the following method, so as to obtain an interaction opportunity between the page interaction plug-in and the browser.
[0032] Step S104: Determine the type of browser kernel used by the browser where the page interaction plug-in is located.
[0033] Step S106: According to the type of the browser kernel, call the corresponding interaction opportunity acquisition interface to acquire the opportunity for the page interaction plug-in to interact with the browser page.
[0034] For example, when the type of the browser kernel is the trident kernel, the Behavior interface of the browser...
Embodiment 2
[0039] refer to figure 2 , shows a flow chart of steps of a page interaction method according to Embodiment 2 of the present invention.
[0040] In this embodiment, the method for obtaining the interaction opportunity between the page interaction plug-in and the browser is implemented in the form of a dynamic link library DLL file (or module), which provides a calling interface for the page interaction plug-in, but is not limited to this, and those skilled in the art should understand that in In practical applications, the page interaction method of the present invention can be implemented in any appropriate form, such as a browser component form, a form embedded in browser code, and so on.
[0041] The page interaction method of this embodiment includes the following steps:
[0042] Step S202: the browser loads the webpage using the page interaction plug-in.
[0043] Step S204: The page interaction plug-in sends a call instruction to the call interface provided by the DLL ...
Embodiment 3
[0061] refer to image 3 , shows a flowchart of steps of a page interaction method according to Embodiment 3 of the present invention.
[0062] In this embodiment, the method of accepting the call instruction of the page interaction plug-in, obtaining the opportunity for page interaction and then calling the function of the page interaction plug-in to interact is encapsulated as a whole, which can be a DLL file or a browser component. It may also be a function embedded in the code of the browser, or any other suitable manner. For ease of description, the whole is referred to as an interactive opportunity acquisition component in this embodiment. The whole provides a RegistDOMReady interface to the outside world, through which the call command and the parameters in the call command are received, the received parameters are passed to the processing part of the whole for processing, and the opportunity for page interaction is obtained, and the function and function in the page i...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 