Browser pop-up window creation method, electronic device and storage medium

A browser pop-up window and browser technology, applied in the direction of user interface execution, program control devices, etc., can solve problems such as browser blocking

CN109117216AInactive Publication Date: 2019-01-01北京明华联盟科技有限公司
5 Cites 1 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2019-01-01
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention discloses a browser pop-up window creation method, an electronic device and a storage medium. The method comprises: obtaining the main process of a browser; creating hidden modal dialogboxes in the main process; calling the extension process to create a pop-up window with the modal dialog box as the parent window. The browser pop-up window creation method, the electronic device andthe storage medium provided by the embodiment of the invention can obtain the main process of the browser, and create hidden modal dialog boxes in the main process, so that the browser can be blockedbecause the modal dialog boxes are in the same process as the browser. Then the extension process is called and a pop-up window is created with the modal dialog box as the parent window, so that the pop-up window blocks the browser without affecting other processes.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of browser interaction, in particular to a method for creating a browser pop-up window, an electronic device and a storage medium. Background technique

[0002] The Edge browser is a browser that comes with the Win10 system, and more and more products have begun to support and be compatible with this browser. However, the browser currently has the following problems: when the pop-up window pops up, the Edge browser cannot be blocked, and the user can still operate other content on the webpage, which leads to some logic confusion problems. Contents of the invention

[0003] In order to overcome the deficiencies of the prior art, one of the objectives of the present invention is to provide a browser pop-up window creation method to solve the existing problem that the browser cannot be blocked when the browser pop-up window pops up.

[0004] The second object of the present invention is to provide an electronic device...

Examples

Embodiment Construction

[0032] Below, the present invention will be further described in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of not conflicting, the various embodiments described below or the technical features can be combined arbitrarily to form new embodiments. .

[0033] Such as figure 1 As shown, the browser pop-up window creation method provided by the embodiment of the present invention includes:

[0034] Step S101: Obtain the main process of the browser.

[0035] Preferably, the browser in this embodiment may be an Edge browser.

[0036] Step S102: Create a hidden modal dialog box in the main process.

[0037] Preferably, in the main process, a hidden modal dialog box is created with the browser as the parent window. Optionally, you can create a modal dialog in the main process but the modal dialog is not imaged on the display module so that the modal dialog is hidden, or you can also create a modal dial...