Skip to content Skip to sidebar Skip to footer

Chrome Extension On Facebook With Dynamic Posts

Sorry, I think this post probably exists but I couldn't find it. Maybe I am using the wrong words. I am making a Chrome extension that looks at Facebook posts and does something to

Solution 1:

You should be watching for DOM mutation events.

See this canonical question and its answer.

Note that DOMSubtreeModified and the like are considered deprecated, and DOM Mutation observers are the modern way.

You could also take a look at Mutation Summary library that's more friendly to use.

Post a Comment for "Chrome Extension On Facebook With Dynamic Posts"