title: How to write own AdBlock-like plugin
body: <p>I'm interested in the simple example of how the content is blocked. Documentation at "<a href="https://adblockplus.org/en/filters" rel="nofollow">https://adblockplus.org/en/filters</a>" very scanty, and how to use "<a href="https://easylist-downloads.adblockplus.org/easylist.txt" rel="nofollow">https://easylist-downloads.adblockplus.org/easylist.txt</a>" also don't have desirible descriptions. For example, how to use a filter rule. For example how to create a select query from rule "&amp;ad_box_".</p>
  
  <pre><code>    document.querySelectorAll('a[href*="&amp;ad_box_"]'); // maybe like that?
  </code></pre>
  
  <p>If there is a minimalist example of JavaScript code using these rules I would be very grateful.</p>