问题
Hi I created this question - Play a sound/notification each time a particular user messages on an existing website - but realized it warranted a more specific question.
The Answerer referenced using Chrome code snippets as a solution - but then someone told me this may not work since the code needs to actively "watch" for changes and Chrome code snippets "only load once."
Who is right, can Chrome code snippets be used to watch for DOM changes and execute code based on them?
来源:https://stackoverflow.com/questions/61327204/can-a-chrome-code-snippet-be-used-to-detect-changes-to-the-dom