CN103034800B - Device and a method for intercepting pop-up windows - Google Patents
Device and a method for intercepting pop-up windows Download PDFInfo
- Publication number
- CN103034800B CN103034800B CN201210544565.7A CN201210544565A CN103034800B CN 103034800 B CN103034800 B CN 103034800B CN 201210544565 A CN201210544565 A CN 201210544565A CN 103034800 B CN103034800 B CN 103034800B
- Authority
- CN
- China
- Prior art keywords
- window
- message
- display screen
- designated area
- pop
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000008859 change Effects 0.000 claims abstract description 11
- 230000008569 process Effects 0.000 claims description 26
- 230000002265 prevention Effects 0.000 claims description 12
- 230000006399 behavior Effects 0.000 claims 1
- 230000008901 benefit Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of device and a method for intercepting pop-up windows.The device includes memory cell, is suitable to preserve display screen designated area range information;Setting unit, is suitable to be provided for the window hook program of interception window message and receives the window message intercepted;The window's position acquiring unit, is suitable to obtain the coordinate position region that the corresponding window of the window message will show on screen when setting unit receives window message;Position judgment unit, is suitable to judge in the range of the display screen designated area represented by display screen designated area range information that whether coordinate position region preserves in the memory unit, if it is notifies to prevent unit;Unit is prevented, is suitable to prevent the ejection of the corresponding window of the window message;User interface, is suitable to receive the instruction of user, and create, change or delete designated area range information in the memory unit according to instruction.Technical scheme avoids the not good problem of interception result when advertisement windows change feature.
Description
Technical field
The present invention relates to network data communication technical field, and in particular to a kind of device and a method for intercepting pop-up windows.
Background technology
At present, the various application software in internet typically can all carry out the pop-up of oneself pushed information, news daily
Prompting etc..Nearly all popular application software all when user starts shooting or can carry out ejecting these when other operations
Window.It is this to force the mode of promotion message that very big bothering is caused to user to user.
Existing shielding software is all that specific aim shielding is carried out after the specific features for getting pop-up, can so cause nothing
The emerging pop-up of method real-time blocking, and after some features of their own are fallen in former pop-up modification, cannot also ensure to intercept
Effect.
In addition, existing shielding software also cannot be identified intercepting to the pop-up ejected in specific region.For example, can not
Realize only intercepting the pop-up of screen lower right field, the pop-up without intercepting center Screen region.Therefore cannot be according to pop-up
Pull zone is identified intercepting.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State a kind of device for intercepting pop-up and the corresponding method for being used to intercept pop-up of problem.
According to one aspect of the present invention, a kind of device for intercepting pop-up, the device includes:Memory cell, setting
Unit, the window's position acquiring unit, position judgment unit and prevention unit;
The memory cell, is suitable to preserve display screen designated area range information;
The setting unit, is suitable to the window hook program for being provided for intercepting window message, and receive the window hook
The window message that subprogram is intercepted;
The window's position acquiring unit, is suitable to receive what the window hook program intercepts were arrived in the setting unit
During window message, the coordinate position region that the corresponding window of the window message will show on screen is obtained;
The position judgment unit, is suitable to judge the coordinate position region that the window's position acquiring unit is obtained,
Whether the display screen designated area model represented by the display screen designated area range information preserved in the memory cell
In enclosing, the prevention unit is if it is notified;
The prevention unit, is suitable to prevent the ejection of the corresponding window of the window message.
Alternatively, the device is further included:White list judging unit;
The memory cell, is further adapted for preserving default white list;
The white list judging unit, is suitable to receive the window that the window hook program intercepts are arrived in the setting unit
During mouth message, the process name belonging to the corresponding window of the window message is obtained, judge the process name whether in default white list
In, it is not process, otherwise notify the window's position acquiring unit;
The window's position acquiring unit, is suitable to receive the window hook program intercepts to window in the setting unit
Mouthful message and when the notice of the white list judging unit is received, obtaining the corresponding window of the window message finally will be in screen
The band of position of upper display.
Alternatively, the device is further included:User interface;
The user interface, be suitable to receive user instruction, and created in the memory cell according to the instruction of user,
Change or delete the designated area range information of the screen.
Alternatively, the setting unit, is suitable to the SetWindowsHookEx interfaces by calling Windows operating system
To be provided for intercepting the window hook program of window message.
Alternatively, the display screen represented by display screen designated area range information that the memory cell is preserved is specified
Regional extent includes:Positioned at a range of region of display screen center, and/or, positioned at the certain of the display screen lower right corner
The region of scope.
According to another aspect of the present invention, there is provided a kind of method for intercepting pop-up, the method includes:
It is provided for intercepting the window hook program of window message;
When the window hook program intercepts are to window message, pop-up resistance is carried out according to the correspondence window region to be shown
Only operate;
It is described pop-up is carried out according to the correspondence window region to be shown to prevent the operation from including:Obtain the window message corresponding
The coordinate position region that window will show on screen;Judge the coordinate position region for obtaining whether in the display for being preserved
In the range of display screen designated area represented by screen designated area range information, window message correspondence is if it is prevented
Window ejection.
Alternatively, when the window hook program intercepts are to window message, and described according to the window area to be shown
Before domain carries out pop-up prevention operation, the method is further included:
Obtain the process name belonging to the corresponding window of the window message;
If the process name is in default white list, no longer perform described carries out bullet according to the window region to be shown
The step of window prevents operation;
If the process name is not in default white list, perform described carries out pop-up according to the window region to be shown
The step of preventing operation.
Alternatively, the method also includes:There is provided user interface so that user can be created by the user interface, modification
Or delete the screen designated area range information.
Alternatively, the window hook program for being provided for intercepting window message includes:Operated by calling Windows
The SetWindowsHookEx interfaces of system come be provided for intercept window message window hook program.
Alternatively, the display screen designated area scope includes:Positioned at a range of region of display screen center,
And/or, positioned at a range of region in the display screen lower right corner.
This set of the invention is used to intercept the window hook program of window message, when the window hook program is blocked
When being truncated to window message, pop-up is carried out according to the correspondence window region to be shown and prevents operation;It is wherein described according to correspondence window
The region to be shown carries out pop-up prevention operation to be included:Obtain the coordinate that the corresponding window of the window message will show on screen
Whether the band of position, judge the coordinate position region for obtaining in the display screen designated area range information institute table for being preserved
In the range of the display screen designated area shown, the technical scheme of the ejection of the corresponding window of the window message is if it is prevented
In:Due to the window hook program intercepts window message by setting, therefore can be judged before window ejection, and be prevented
The ejection of advertisement windows, and the mode for judging is that the coordinate position region that shown on screen according to window is carried out, when
The ejection of window is prevented when the coordinate position region that window will show on screen is in the specified range that advertisement windows are ejected, because
This is avoided in the existing scheme intercepted according to the feature of advertisement windows itself, and effect is intercepted when advertisement windows change feature
The not good problem of fruit.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention,
And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows a kind of flow chart for intercepting the method for pop-up according to an embodiment of the invention;
Fig. 2 shows a kind of flow chart for intercepting the method for pop-up according to an embodiment of the invention;
Fig. 3 shows a kind of structure chart for intercepting the device of pop-up according to an embodiment of the invention;
Fig. 4 shows a kind of structure chart for intercepting the device of pop-up according to an embodiment of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.Conversely, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
Fig. 1 shows a kind of flow chart for intercepting the method for pop-up according to an embodiment of the invention.Referring to figure
1, the method includes:
Step S110, is provided for intercepting the window hook program of window message.
Window hook program is a program for treatment message in Windows operating system, is called by system, it
It is linked into system.Whenever specific message sends, before without purpose window is reached, window hook program just first captures the message,
That is, window hook program first obtains control.At this moment window hook program can change the message, it is also possible to not deal with
And continue to transmit the message, can also force to terminate the transmission of the message.
In one embodiment of the invention, by calling the SetWindowsHookEx interfaces of Windows operating system
To be provided for intercepting the window hook program of window message.Realizing the program of this method can call upon actuation
SetWindowsHookEx interfaces register a window hook program to Windows operating system, and window is created for intercepting system
The message of mouth and moving window, when having window creation or shift position, notice realizes that the process priority of this method processes this and disappears
Breath.
Step S120, when the window hook program intercepts are to window message, according to the correspondence window region to be shown
Carry out pop-up and prevent operation;Wherein, carrying out pop-up prevention operation according to the correspondence window region to be shown includes:Obtain the window
The coordinate position region that the corresponding window of message will show on screen, judges whether the coordinate position region for obtaining is being protected
In the range of the display screen designated area represented by display screen designated area range information deposited, the window is if it is prevented
The ejection of the corresponding window of message.
In an embodiment of the present invention, the display screen represented by display screen designated area range information for being preserved refers to
Determine the position that regional extent is common advertisement windows ejection, for example in one embodiment of the invention, the display screen
Designated area scope is:Positioned at a range of region of display screen center, or, positioned at the certain of the display screen lower right corner
The region of scope, or, positioned at a range of region of display screen center and positioned at the certain of the display screen lower right corner
The region of scope.
In method shown in Fig. 1, due to the window hook program intercepts window message by setting, therefore can be in window
Judged before ejection, and prevented the ejection of advertisement windows, and the foundation for judging is the coordinate that window will show on screen
Position, as foundation, therefore avoids and is blocked according to the feature of advertisement windows itself rather than according to the feature of window itself
In the existing scheme cut, the not good problem of interception result when advertisement windows change feature.
In one embodiment of the invention, some process names for being not desired to intercept its pop-up window can also be listed in white name
It is single, before the position to be ejected of window is checked, whether the process name of the window to be ejected first is judged in white list, it is not then not
The position to be ejected of window is reexamined, is directly let pass, be allowed to window ejection.It is specific as shown in Figure 2.
Fig. 2 shows a kind of flow chart for intercepting the method for pop-up according to an embodiment of the invention.Referring to figure
2, the method includes:
Step S210, is provided for intercepting the window hook program of window message.
Step S220, when the window hook program intercepts are to window message, obtains the corresponding window of the window message
Affiliated process name.
In one embodiment of the invention, the interface that can be provided by operating system obtains the corresponding window of window message
Process name belonging to mouthful.
Step S230, judges that whether the process name is to terminate this method flow in default white list, otherwise performs
Step S240.
Step S240, obtains the coordinate position region that the corresponding window of the window message will show on screen.
In one embodiment of the invention, the interface for being provided by operating system obtains the corresponding window of window message will
The coordinate position region shown on screen.
Whether step S250, judge the coordinate position region for obtaining in the display screen designated area scope letter for being preserved
It is then to perform step S260 in the range of the represented display screen designated area of breath, otherwise terminates this method flow.
Step S260, prevents the ejection of the corresponding window of the window message.
In method shown in Fig. 2, by setting white list, can cause that the window that some users wish to is ejected, and
It is not all of preventing, further increases Consumer's Experience.
In one embodiment of the invention, user interface is also provided so that user can by the user interface create,
Screen designated area range information is deleted in modification.Under normal circumstances, various application software are in the lower right corner of screen or screen
The two positions are now set to screen designated area scope, then screen designated area range information table by center pop-up
That shows is the two positions.But, in some cases, possible user has its special demand to screen work region, because
This can create multiple designated area scopes according to user instruction in the diverse location of screen.In addition, each application software also have can
The position of pop-up can be changed, therefore user interface is provided, can enable a user to set needs according to actual conditions and demand
Carry out the screen area of pop-up interception.So, user can at any time adjust and carry out the screen area of pop-up interception, be seen certainly with reaching
Oneself wants the pop-up seen and masks oneself to be not desired to see and can influence the pop-up of oneself.
In real experiences, when user starts shooting every time, currently more popular application software(Such as JICQ
Software, download software and player software etc.)Continuous closing will be needed in the center ejection Netscape News of screen, such user
Falling multiple windows just can normally be operated.Additionally, during using computer, typically also can in the lower right corner of screen
There are various message windows and advertisement windows to eject, the normal of influence user is used.And after using the technical solution of the present invention,
Automatic shield these pop-ups can be carried out according to the selection of user, normal operating of the user to computer is not interfered with thus.
Fig. 3 shows a kind of structure chart for intercepting the device of pop-up according to an embodiment of the invention.Such as Fig. 3 institutes
Show, the device 300 for being used to intercept pop-up includes:Memory cell 301, setting unit 302, the window's position acquiring unit 303, position
Put judging unit 304 and prevent unit 305;
Memory cell 301, is suitable to preserve display screen designated area range information.
Setting unit 302, is suitable to the window hook program for being provided for intercepting window message, and receive the window hook
The window message that program intercepts are arrived.
The window's position acquiring unit 303, be suitable to setting unit 302 receive window hook program intercepts to window disappear
During breath, the coordinate position region that the corresponding window of the window message will show on screen is obtained.
Position judgment unit 304, is suitable to judge the coordinate position region that the window's position acquiring unit 303 is obtained, if
In the range of the display screen designated area represented by display screen designated area range information preserved in memory cell 301,
If it is notify to prevent unit 305.
Unit 305 is prevented, is suitable to prevent the ejection of the corresponding window of the window message.
In device shown in Fig. 3, because setting unit 302 is provided with window hook program intercepts window message, therefore window
Mouthful position acquisition unit 303 can before window ejection the acquisition window position to be shown, and position judgment unit 304 can be with
Carried out judging whether to prevent according to the window position to be shown, advertisement is prevented by prevention unit 305 when being judged as and preventing
The ejection of window, therefore can be carried out intercepting before window ejection, and by the position conduct to be ejected thus according to window
Basis for estimation, rather than using window feature in itself as basis for estimation, therefore avoids and is blocked when advertisement windows change feature
Cut the problem of effect on driving birds is not good.
Fig. 4 shows a kind of structure chart for intercepting the device of pop-up according to an embodiment of the invention.Such as Fig. 4 institutes
Show, the device 400 for being used to intercept pop-up includes:Memory cell 401, setting unit 402, the window's position acquiring unit 403, position
Put judging unit 404, prevent unit 405, white list judging unit 406 and user interface 407.
Memory cell 401, is suitable to preserve display screen designated area range information, is further adapted for preserving default white list.
Setting unit 402, is suitable to the window hook program for being provided for intercepting window message, and receive the window hook
The window message that program intercepts are arrived.
White list judging unit 406, is suitable to receive the window message that window hook program intercepts are arrived in setting unit 402
When, the process name belonging to the corresponding window of the window message is obtained, judge whether the process name is default in memory cell 401
White list in, be not process, otherwise notification window position acquisition unit 403.So, can be made by setting white list
The window ejection that some users wish to is obtained, rather than whole preventions, Consumer's Experience is further increased.
The window's position acquiring unit 403, is suitable to receive window hook program intercepts to window message in setting unit 402
And when the notice of white list judging unit 406 is received, obtaining the corresponding window of the window message will finally show on screen
The band of position.
Position judgment unit 404, is suitable to judge the coordinate position region that the window's position acquiring unit 403 is obtained, if
In the range of the display screen designated area represented by display screen designated area range information preserved in memory cell 401,
If it is notify to prevent unit 405.
Unit 405 is prevented, is suitable to prevent the ejection of the corresponding window of the window message.
User interface 407, is suitable to receive the instruction of user, and created in memory cell 401 according to the instruction of user, repaiied
Change or delete the designated area range information of the screen.So, user can at any time adjust and carry out the screen area of pop-up interception
Domain, sees the pop-up of oneself wanting to see and masks and oneself be not desired to see and can influence the pop-up of oneself to reach.
In one embodiment of the invention, setting unit 402 is suitable to by calling Windows operating system
SetWindowsHookEx interfaces come be provided for intercept window message window hook program.
In one embodiment of the invention, the display screen designated area range information institute table that memory cell 401 is preserved
The display screen designated area scope shown includes:Positioned at a range of region of display screen center, and/or, positioned at display
The a range of region in the screen lower right corner.
In sum, in this technical scheme of the invention, due to being provided with window hook program intercepts window message, because
This can be judged before window ejection, and prevent the ejection of advertisement windows, and the foundation for judging be will be according to window
The coordinate position region shown on screen is carried out, and the coordinate position region that shown on screen when window is in advertisement windows bullet
When in the specified range for going out prevent window ejection, therefore avoid according to the feature of advertisement windows itself intercepted it is existing
In scheme, the not good problem of interception result when advertisement windows change feature.
Technical solution of the present invention can bother user huge advertisement pop-up and shield.Current various application software pair
User forces the situation of promotion message more and more, and almost each software is want just to be pushed to some letters of user after starting up
Breath, and screen center, each position Relatively centralized of the lower right corner shield these pop-ups using the present invention is this according to ejected position
Scheme, can be very good to solve new software, the advertisement shielding problem of new pop-up, it is not necessary to which shielding that software upgraded just can be with
Good shield effectiveness is obtained, allows the experience of user to get a promotion.
It should be noted that:
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system
Structure be obvious.Additionally, the present invention is not also directed to any certain programmed language.It is understood that, it is possible to use it is various
Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this hair
Bright preferred forms.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify one or more that the disclosure and helping understands in each inventive aspect, exist
Above to the description of exemplary embodiment of the invention in, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, and wherein each claim is in itself
All as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Unit or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, can use any
Combination is to this specification(Including adjoint claim, summary and accompanying drawing)Disclosed in all features and so disclosed appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification(Including adjoint power
Profit requires, makes a summary and accompanying drawing)Disclosed in each feature can carry out generation by the alternative features for providing identical, equivalent or similar purpose
Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection is appointed
One of meaning mode can be used in any combination.
All parts embodiment of the invention can be realized with hardware, or be run with one or more processor
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor(DSP)Come in realizing the device for intercepting pop-up according to embodiments of the present invention
The some or all functions of some or all parts.The present invention is also implemented as performing method as described herein
Some or all equipment or program of device(For example, computer program and computer program product).Such reality
Existing program of the invention can be stored on a computer-readable medium, or can have the form of one or more signal.
Such signal can be downloaded from internet website and obtained, or be provided on carrier signal, or in any other form
There is provided.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol being located between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element listed in the claims or step.Word "a" or "an" before element is not excluded the presence of as multiple
Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Claims (6)
1. a kind of device for intercepting pop-up, to prevent pop-up from bothering user, the device includes:Memory cell, setting
Unit, the window's position acquiring unit, position judgment unit, user interface and prevention unit;
The memory cell, is suitable to preserve display screen designated area range information;
The setting unit, is suitable to the window hook program for being provided for intercepting window message, and receive the window hook journey
The window message that sequence is intercepted;Wherein, whenever specific message sends and does not reach purpose window as described before window hook
Subprogram first captures the message;
The window's position acquiring unit, is suitable to receive the window that the window hook program intercepts are arrived in the setting unit
During message, the coordinate position region that the corresponding window of the window message will show on screen is obtained;
The position judgment unit, is suitable to judge the coordinate position region that the window's position acquiring unit is obtained, if
In the range of the display screen designated area represented by display screen designated area range information preserved in the memory cell,
If it is the prevention unit is notified;
The prevention unit, is suitable to prevent the ejection of the corresponding window of the window message;
The user interface, is suitable to receive the instruction of user, and created in the memory cell according to the instruction of user, changed
Or delete the designated area range information of the screen;
The device is further included:White list judging unit;
The memory cell, is further adapted for preserving default white list;The window that user specifies is saved in the default white list
Process name belonging to mouthful;
The white list judging unit, be suitable to the setting unit receive the window hook program intercepts to window disappear
During breath, the process name belonging to the corresponding window of the window message is obtained, judge that whether the process name in default white list, is
Do not process then, otherwise notify the window's position acquiring unit;
The window's position acquiring unit, is suitable to receive the window hook program intercepts in the setting unit and disappears to window
Cease and when the notice of the white list judging unit is received, obtaining the corresponding window of the window message will finally show on screen
The band of position for showing.
2. device as claimed in claim 1, wherein,
The setting unit, is suitable to be provided for by calling the SetWindowsHookEx interfaces of Windows operating system
Intercept the window hook program of window message.
3. device as claimed in claim 1, wherein,
The display screen designated area scope bag represented by display screen designated area range information that the memory cell is preserved
Include:Positioned at a range of region of display screen center, and/or, positioned at a range of region in the display screen lower right corner.
4. a kind of method for intercepting pop-up, to prevent pop-up from bothering user, the method includes:
It is provided for intercepting the window hook program of window message;Wherein, whenever specific message sends and does not reach mesh
Window as described before window hook program first capture the message;
When the window hook program intercepts are to window message, pop-up carried out according to the correspondence window region to be shown and prevents behaviour
Make;
It is described pop-up is carried out according to the correspondence window region to be shown to prevent the operation from including:Obtain the corresponding window of the window message
The coordinate position region to be shown on screen;Judge the coordinate position region for obtaining whether in the display screen for being preserved
In the range of display screen designated area represented by designated area range information, the corresponding window of the window message is if it is prevented
The ejection of mouth;
There is provided user interface so that user can be created by the user interface, change or delete the screen designated area model
Enclose information;
Wherein, when the window hook program intercepts are to window message, and carried out according to the window region to be shown described
Before pop-up prevents operation, the method is further included:
Obtain the process name belonging to the corresponding window of the window message;
If the process name is in default white list, no longer perform described carries out pop-up resistance according to the window region to be shown
The step of only operating;
If the process name is not in default white list, perform described carries out pop-up prevention according to the window region to be shown
The step of operation;
Wherein, the process name belonging to the window that user specifies is saved in the default white list.
5. method as claimed in claim 4, wherein,
The window hook program for being provided for intercepting window message includes:By calling Windows operating system
SetWindowsHookEx interfaces come be provided for intercept window message window hook program.
6. method as claimed in claim 4, wherein,
The display screen designated area scope includes:Positioned at a range of region of display screen center, and/or, it is located at
The a range of region in the display screen lower right corner.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210544565.7A CN103034800B (en) | 2012-12-14 | 2012-12-14 | Device and a method for intercepting pop-up windows |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210544565.7A CN103034800B (en) | 2012-12-14 | 2012-12-14 | Device and a method for intercepting pop-up windows |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103034800A CN103034800A (en) | 2013-04-10 |
CN103034800B true CN103034800B (en) | 2017-06-20 |
Family
ID=48021688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210544565.7A Active CN103034800B (en) | 2012-12-14 | 2012-12-14 | Device and a method for intercepting pop-up windows |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103034800B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019719B (en) * | 2012-12-14 | 2016-08-24 | 北京奇虎科技有限公司 | A kind of pop-up blocking apparatus and method |
CN104123276B (en) * | 2013-04-23 | 2017-12-01 | 腾讯科技(深圳)有限公司 | The hold-up interception method of pop-up, device and system in a kind of browser |
CN104252477B (en) * | 2013-06-27 | 2018-06-15 | 贝壳网际(北京)安全技术有限公司 | Method and device for controlling webpage pop-up window |
CN104091125B (en) * | 2014-07-18 | 2017-11-17 | 北京奇虎科技有限公司 | Handle the method and suspended window processing unit of suspended window |
CN106658195B (en) * | 2015-11-04 | 2019-08-23 | 珠海豹趣科技有限公司 | A kind of video ads hold-up interception method and device |
CN106776610B (en) * | 2015-11-19 | 2020-04-17 | 珠海豹趣科技有限公司 | Advertisement popup intercepting method and device |
CN106446684B (en) * | 2016-09-22 | 2019-12-03 | 武汉斗鱼网络科技有限公司 | A kind of network account guard method and system based on password control |
CN106909377B (en) * | 2017-02-21 | 2020-08-11 | 北京安云世纪科技有限公司 | Hot area page processing method and device |
CN107391115B (en) * | 2017-06-28 | 2018-10-23 | 武汉斗鱼网络科技有限公司 | A kind of method, apparatus and computer equipment for realizing pop-up alternative events |
CN108920243A (en) * | 2018-06-29 | 2018-11-30 | 北京奇虎科技有限公司 | Control the method and device of pop-up |
CN113448668B (en) * | 2021-06-22 | 2023-09-29 | 北京百度网讯科技有限公司 | Method and device for skipping popup window and electronic equipment |
CN115391771B (en) * | 2022-10-28 | 2023-03-24 | 荣耀终端有限公司 | Popup window intercepting method and device, electronic equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102129348A (en) * | 2011-03-10 | 2011-07-20 | 央视国际网络有限公司 | Method and device for prompting web page message |
CN102236553A (en) * | 2011-06-09 | 2011-11-09 | 北京思创银联科技股份有限公司 | Method for filtering Windows system window |
CN102385583A (en) * | 2010-08-31 | 2012-03-21 | 腾讯科技(深圳)有限公司 | Method for controlling browser to open window and web browser |
CN102819713A (en) * | 2012-06-29 | 2012-12-12 | 北京奇虎科技有限公司 | Method and system for detecting security of popup window |
-
2012
- 2012-12-14 CN CN201210544565.7A patent/CN103034800B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102385583A (en) * | 2010-08-31 | 2012-03-21 | 腾讯科技(深圳)有限公司 | Method for controlling browser to open window and web browser |
CN102129348A (en) * | 2011-03-10 | 2011-07-20 | 央视国际网络有限公司 | Method and device for prompting web page message |
CN102236553A (en) * | 2011-06-09 | 2011-11-09 | 北京思创银联科技股份有限公司 | Method for filtering Windows system window |
CN102819713A (en) * | 2012-06-29 | 2012-12-12 | 北京奇虎科技有限公司 | Method and system for detecting security of popup window |
Non-Patent Citations (1)
Title |
---|
《基于hook技术拦截IE弹出广告窗口的实现》;田长根 等;《计算机与现代化》;20061231;正文第109-115页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103034800A (en) | 2013-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103034800B (en) | Device and a method for intercepting pop-up windows | |
CN103019719B (en) | A kind of pop-up blocking apparatus and method | |
CN103186331B (en) | A kind of intelligent terminal's interface display method and system | |
CN104360794B (en) | By recognizing the method and device that screen mode toggle controls window to eject | |
CN105940365B (en) | A kind of notification information processing method, device and terminal | |
CN105582674B (en) | The selection method and device of target in game | |
CN103595766B (en) | Realize the method and device of the sending out notice of extension application | |
CN106201468B (en) | A kind of processing method of screenshotss, device and electronic equipment | |
CN105549820B (en) | A kind of method and terminal showing graphic user interface | |
CN111111164B (en) | Control method and device of virtual prop, storage medium and electronic device | |
CN102736849A (en) | Menu layout processing method and device | |
CN103970774A (en) | Notice icon clearing method and device | |
JP2015178013A5 (en) | ||
CN106339231A (en) | Pushing method and apparatus of desktop notifications | |
CN105095749B (en) | The adapting method and device of status bar notice | |
CN104793915B (en) | A kind of multi-screen display method and terminal | |
CN104702782B (en) | A kind of message management method and its mobile terminal | |
CN105117320A (en) | Method for managing application in electronic terminal and electronic terminal thereof | |
US20160077726A1 (en) | User interface based interaction method and related apparatus | |
CN104200159A (en) | Method and device for configuring application program permission | |
CN104052652B (en) | It is a kind of to realize method, client, system and electronic equipment that message is automatically deleted | |
CN105068777B (en) | A kind of display control method and electronic equipment | |
US9405522B2 (en) | Scene-sound set operating method and portable device | |
CN107291340B (en) | Method for realizing interface effect, computing equipment and storage medium | |
KR20160027484A (en) | Files batch processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220725 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |
|
TR01 | Transfer of patent right |