Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for controlling pop-up window of webpage

A pop-up window and webpage technology, applied in computer security devices, special data processing applications, instruments, etc., can solve problems such as endangering system security, invalid special effects, poor user experience, etc., and achieve high interception efficiency, strong pertinence, and small impact Effect

Active Publication Date: 2018-06-15
BEIJING CHEETAH MOBILE TECH CO LTD +4
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this one-size-fits-all approach will invalidate other JavaScript special effects in the webpage and greatly reduce the excitement of the webpage.
[0005] Therefore, there is an urgent need for a method that can reasonably control pop-up windows on web pages, reduce or avoid problems such as occupying system resources, endangering system security, and poor user experience caused by malicious pop-up windows

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
  • Method and device for controlling pop-up window of webpage
  • Method and device for controlling pop-up window of webpage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0043] Embedding JavaScript script codes in web pages can realize pop-up windows. Through the debugger analysis of the call stack of the thread to which the window belongs, it can be known that the JavaScript script pop-up window in the web page uses a dynamic link library file of Microsoft, specifically the interface provided by the hmtl parser module (mshtml.dll). For example, when the pop-up window code in the script code is "alert("Finished")", a window pops up, and its window content is "Finished". From the call stack of this web page, it can be clearly seen that the window class warning function (mshtml!CWindow::alert) is the corresponding entry point function. After further research, it is found that, similar to this, the entry point functio...

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 provides a method and a device for controlling a webpage pop-up window. The method comprises the following steps: hooking the entry point function of a predetermined dynamic link library file and intercepting information of a pop-up window, wherein the predetermined dynamic link library file is a predetermined dynamic link library file needing to be loaded by the webpage pop-up window; matching the information of the pop-up window with a preset rule, and judging whether the pop-up window needs to be intercepted or not; forbidding or permitting the pop-up of the pop-up window according to a judgment result. By adopting the method and the device, reasonable control of the webpage pop-up window can be realized, and the problems of occupation of system resources, endangering of the system security, poor user experience and the like caused by malicious pop-up are reduced or avoided.

Description

technical field [0001] The invention relates to the technical field of computer security, in particular to a method and device for controlling pop-up windows of webpages. Background technique [0002] Today, with the rapid development and popularization of the Internet, it has become an indispensable part of people's life to read web pages through browsers to obtain external information. With the accumulation of the number of users, the owners of some websites advertise to third-party merchants by popping up new webpages on the webpage to realize income. This pop-up window has become a trend, and even intensified, so that it is difficult for Internet users to find a clean and undisturbed browsing environment. [0003] The emergence of malicious pop-ups on webpages may cause users to manually close the webpages that they do not want to browse, which will affect the user's mood and online experience. At worst, it will occupy system resources and slow down the computer system....

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): G06F17/30G06F21/56
CPCG06F16/9577G06F21/566
Inventor 杨景杰白彦庚赵闽
Owner BEIJING CHEETAH MOBILE TECH CO LTD