Javascript-does chrome provide such an API?

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.