is it possible to tell if DOM was modified, and which part?

后端 未结 5 1915
无人共我
无人共我 2021-01-02 17:03

Are there any practical ways to tell what part of the DOM was modified if you know that it will be modified?

I am writing a plugin that will be running along with ja

5条回答
  •  别那么骄傲
    2021-01-02 17:32

    You could also do a hash of the page text (e.g. complete source string) and compare it (on change) to current hash.

提交回复
热议问题