This patch adds URL filtering support to surf, for example to remove
advertisements. The file
filters contains POSIX regular expressions (see the
re_format(7) manpage). If a HTTP request is about to be made for a URL that
matches any of the expressions in the file, it is replaced with
instead. This may lead to slightly broken display on pages that expect e.g.
images to load correctly. The impact is negligible though.
An example list of filters looks like this:
- surf-tip-url-filtering.diff (4176) (20141014)