Adguard's ShadowRoot's customized ad blocking rules (Monica Search Enhanced Ads as an example)This article describes how to use Adguard's ShadowRoot to customize ad blocking rules, taking Monica search enhancement ads as an example. The author analyzes the ad element through F12 developer tool and finds that its DOM element adopts random class, and then proposes to block it by characterizing the class attribute value. For ShadowRoot, the authors provide a solution using script segments, and finally form an effective blocking rule.