A method and device for real-time detection of webpage cross-domain requests
A web page cross-domain request and real-time detection technology, applied in the direction of data exchange network, digital transmission system, electrical components, etc., can solve the serious problems of computer network security, and achieve the goal of imperceptible and bypass, high real-time performance and timely acquisition Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] The first embodiment of the present invention discloses a method for real-time detection of webpage cross-domain requests. Such as figure 1 shown, including:
[0031] Step 1, monitor the page elements and their behaviors marking the webpage resources in the webpage, capture the address domain name of the page resource, and / or the new domain name generated by the page element behavior.
[0032] In this step, the client browser JAVASCRIPT script can be used to monitor page elements and behaviors. Page element: the DOM node in the HTML page. HTML uses closing tags to indicate node element types (such as: , which means that the tag src refers to an external resource. Such as: , that is, the onerror of the label triggers the js behavior).
[0033] Specifically include:
[0034] 1) Capture the external resource address referenced by the current page (the address here is expressed in the form of a domain name).
[0035] Here, the browser JAVASCRIPT script can be used...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 