Custom Filters

Write your own rules in the syntax you know

What it does

Power users can write their own blocking rules using the same syntax as uBlock Origin and AdBlock Plus. Block hosts, paths, or hide elements on any site.

  1. ||doubleclick.net^
  2. example-news.com##.newsletter-promo
  3. ||tracker.io^$third-party
  4. ##div[class^="ad-"]
  5. example-news.com#@#.sticky
Same syntax as uBlock Origin and AdBlock Plus. Paste, save, done.
Write your own filter rules using familiar uBlock/ABP syntax.

How it works

Paste rules into the textarea and save. Ghostery applies them alongside its default filter lists.

What you get

  • Familiar syntax, compatible with popular filter lists
  • Block specific domains, paths, or page elements
  • Import rules from your existing setup
  • Iterate without leaving the Ghostery settings

Turn it on

Find it under: Privacy Protection → Custom Filters.

Get Ghostery. It's free.

Block trackers and ads in any browser. Open source. No account required.

Download Ghostery