Puppeteering HTML - The Art of Creating Optimized Web Pages
Too Long; Didn't Read
Mutation Observer is a built-in object that observes a DOM element and fires a callback when it detects a change. It allows you to detect when elements in a web page are inserted, changed, or removed. It is still relatively new, but it is supported by every modern browser. It's a weighty library for a project whose own code base is sometimes comparable to it in size. JQuery is making our life easier with some operations that are just too tedious to do with vanilla JavaScript.