Chromium-based web JavaScript api call monitoring method, device, equipment and medium
CN123178193APending Publication Date: 2026-11-27ZIXUN TECHNOLOGY (FUJIAN) CO LTD
View PDF 0 Cites 0 Cited by
Patent Information
- Application Number
- CN202611109563.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-24
- Publication Date
- 2026-11-27
Smart Images

Figure CN123178193A_ABST
Abstract
The application provides a Chromium-based Web JavaScript API call monitoring method, device, equipment and medium, and relates to the technical field of browser kernels; the method comprises the following steps: loading configuration when a Browser process is started; after a target page V8 context is created and before a page script is executed, all Web API attributes and native functions are hooked through a V8 C++ API, and C++ callback functions are used to replace the native functions corresponding to the attributes; when the API is called, structured logs are generated in the callback; the logs are transmitted from a Renderer process to a Browser process through cross-process communication; the Browser process asynchronously writes the logs into a log file; the hooking of the kernel C++ layer to the JavaScript layer is completely transparent, the API can be fully covered, there is no race condition, and the log channel is independent and reliable.
Need to check novelty before this filing date? Find Prior Art
