Hello:
I found your Chrome Extension, it is a good repo.
I want to do some similar things, but I need some advices:
I want to write one Chrome Extension to catch some DOM changes, but quite often the DOM changes are not direct results of Ajax requests.
So I want to write some simple JavaScript to scan the DOM, esp. one HTML table, and find any changes in the table cells' innerText, and, if any, I can put the changed table Cells' innerText into a map, then Json stringfy the map, then send the Json format string to an external WebSocket server (C#).
I know how to write the JavaScript to do the job, and I want to run the JavaScript every 10 seconds.
I want to know where I should put the JavaScript? In the background.js or in the content.js?
Please advise! You can use Chinese, if necessary. For me, typing Chinese is too much time-consuming.