Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.46 KB

custom-filters.md

File metadata and controls

42 lines (28 loc) · 1.46 KB
title description timezone logo image
Bromite Custom Ad Block filters
Support for custom subresource filters in Bromite
Europe/Berlin
/bromite.png
/bromite.png

Ad block filters

Since release 78.0.3904.130 it is possible to use custom ad block filters.

Change the default filters URL from Settings -> AdBlock settings and specify a valid URL for the filters file.

The default URL is: https://www.bromite.org/filters/filters.dat

How to create a custom filters file

See Chromium documentation.

You will need to use the ruleset_converter command-line tool as in:

ruleset_converter --input_format=filter-list \
		--output_format=unindexed-ruleset \
                --input_files=easyprivacy.txt,easylist.txt \
		--output_file=filters.dat

A pre-built ruleset_converter binary for Linux/amd64 is available with each Bromite Release.

Requirements

The webserver serving the file must provide a consistent Last-Modified header.

Automatic filters updates

The filters URL will be automatically checked 5 seconds after the browser is started and then once per week.

{% include donate.html %}

Limitations

You will need to close and re-open Bromite in order for the new URL to be in effect.