摘要 |
A webpage detection method includes: loading, in a browser, a plug-in used for webpage detection, and providing, in an interface of the browser, an interface object used for invoking the plug-in (201); starting the plug-in after the interface object receives a predetermined user operation (202); running a built-in script of the plug-in to analyze whether source code of a current page of the browser satisfies a predetermined rule (203); and displaying a source code analysis result of the current page (204). Besides, the present disclosure further provides a webpage detection apparatus. The webpage detection method and apparatus can improve webpage detection efficiency and can also enhance convenience of webpage detection. |