aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/test/adblock.txt
blob: 635ce091260835cf89b0a679cc886421ba9ae9fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
! Homepage: http://example.com/
! Title: FooList
! Expires: 5 days
! Redirect: http://example.com/list.txt
! Version: 1234

/banner/*/img^
||ads.example.com^
|http://example.com/|
/banner\d+/

! match beginning
||http://beginning-pattern.com
! match end
end-pattern|

! options
! match-case
matchThisCase$match-case

! domain limiting
! only apply this filter on this domain
domain-limited-string$domain=example.com
! apply this filter to all domains but the listed one
exception-limited-string$domain=~example.com