I want to pre-replace or replace some content in the webpage source code, such as bad words, links, pictures, and so on. You can replace the content before loading the webpage. After the content is replaced, it is displayed to the user instead of loading and replacing it. Is there any API that can be implemented, or is there something similar... I want to implement it?
Pre-replacementOr
Replacing webpage source codeSome content, such as bad words, links, pictures, and so on.
Replace the content before loading the webpage. After the content is replaced, the content is displayed to the user instead of the content after loading. Is there any API or function extension?
Reply content:
I want to implementPre-replacementOrReplacing webpage source codeSome content, such as bad words, links, pictures, and so on.
Replace the content before loading the webpage. After the content is replaced, the content is displayed to the user instead of the content after loading. Is there any API or function extension?
You can develop the chrome plug-in.
The plug-in can listen to the page content loading process, and execute the JS script after DOM loading is complete, just replace the content.
A similar plug-in has been developed, and the traffic data of each clickable location on the page is displayed on the page.