This will be especially useful after https://codereview.adblockplus.org/29714601/ Ads are almost never part of the original HTML, they're loaded dynamically via JS or by some other means. In that case, particularly for the top-level frame, there's no need to traverse the DOM for DOM-only patterns until there's a mutation. This way when a mutation occurs we can target the newly added nodes quickly instead of waiting for a full traversal. If we do this, ads will be hidden immediately instead of appearing momentarily before disappearing as they do now.
Total comments: 3
Total messages: 7