Answer the question
In order to leave comments, you need to log in
How to replace the contents of a div block through Chrome Extensions?
I will never figure it out. It is required in the background script background.js to check each request. If the request corresponds to the site site.ru, then we look for the div block of the class_name class and replace its content with another value.
Maybe somewhere already there is a ready-made implementation. I know that the task is simple, but I can't figure it out.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question