Method and device of automatically detecting CSS expression
An automatic detection and expression technology, which is applied in the Internet field, can solve problems such as missing checks, page freezes, slowing down the loading speed of web pages, etc., and achieve the effect of accurate results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] see figure 1 , figure 1 It is a flowchart of a method for automatically detecting CSS expressions provided by an embodiment of the present invention. Such as figure 1 As shown, the method of the embodiment of the present invention includes the following steps:
[0021] Step S1: Obtain an HTML file containing the source code of the user interface.
[0022] Before this step, it also includes storing the address information of the user interface. Specifically, the address of the user interface is loaded into the memory through the Java language for storage.
[0023] This step specifically includes obtaining the source code of the user interface, and then parsing the HTML file.
[0024] Step S2: Detect whether the source code in the HTML file contains an identifier of a CSS expression based on a preset language.
[0025] In this step, if the identifier is detected, go to step S3, otherwise go to step S4.
[0026] Since the code of javascript (js) will be inserted int...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 