Originally I want to execute a script when the contents of a DIV change are different from the script (the content of the script in the Chrome extension and the webpage scripts. ), I just need to follow the changes in Dom State. I can vote, but it is loose.
The old content of this answer is now. See other answers based on
Mutation Observer