K
K
KindElf2016-04-13 14:25:11
Google Chrome
KindElf, 2016-04-13 14:25:11

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

1 answer(s)
K
KindElf, 2016-04-20
@KindElf

Can anyone help?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question