summaryrefslogtreecommitdiffstats
path: root/misc/syntax/privoxy.syntax
blob: d527eda1360ca1a8281f9f49f1599c45a093b974 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# Privoxy action file syntax highlighting
# Version: 2022-07-02
# Author: Bogdan Pylypenko <bogdan.pylypenko107@gmail.com> 
# This definition is under the GNU GPL version 3.0.

context default

context { }\n magenta
    keyword \\ brown

    keyword \+add-header yellow
    keyword \+block yellow
    keyword \+change-x-forwarded-for yellow
    keyword \+client-header-filter yellow
    keyword \+client-body-filter yellow
    keyword \+client-header-tagger yellow
    keyword \+content-type-overwrite yellow
    keyword \+crunch-client-header yellow
    keyword \+crunch-if-none-match yellow
    keyword \+crunch-incoming-cookies yellow
    keyword \+crunch-server-header yellow
    keyword \+crunch-outgoing-cookies yellow
    keyword \+deanimate-gifs yellow
    keyword \+delay-response yellow
    keyword \+downgrade-http-version yellow
    keyword \+external-filter yellow
    keyword \+fast-redirects yellow
    keyword \+filter yellow
    keyword \+force-text-mode yellow
    keyword \+forward-override yellow
    keyword \+handle-as-empty-document yellow
    keyword \+handle-as-image yellow
    keyword \+hide-accept-language yellow
    keyword \+hide-content-disposition yellow
    keyword \+hide-if-modified-since yellow
    keyword \+hide-from-header yellow
    keyword \+hide-referrer yellow
    keyword \+hide-user-agent yellow
    keyword \+https-inspection yellow
    keyword \+ignore-certificate-errors yellow
    keyword \+limit-connect yellow
    keyword \+limit-cookie-lifetime yellow
    keyword \+prevent-compression yellow
    keyword \+overwrite-last-modified yellow
    keyword \+redirect yellow
    keyword \+server-header-filter yellow
    keyword \+server-header-tagger yellow
    keyword \+suppress-tag yellow
    keyword \+session-cookies-only yellow
    keyword \+set-image-blocker yellow

    keyword \-add-header green
    keyword \-block green
    keyword \-change-x-forwarded-for green
    keyword \-client-header-filter green
    keyword \-client-body-filter green
    keyword \-client-header-tagger green
    keyword \-content-type-overwrite green
    keyword \-crunch-client-header green
    keyword \-crunch-if-none-match green
    keyword \-crunch-incoming-cookies green
    keyword \-crunch-server-header green
    keyword \-crunch-outgoing-cookies green
    keyword \-deanimate-gifs green
    keyword \-delay-response green
    keyword \-downgrade-http-version green
    keyword \-external-filter green
    keyword \-fast-redirects green
    keyword \-filter green
    keyword \-force-text-mode green
    keyword \-forward-override green
    keyword \-handle-as-empty-document green
    keyword \-handle-as-image green
    keyword \-hide-accept-language green
    keyword \-hide-content-disposition green
    keyword \-hide-if-modified-since green
    keyword \-hide-from-header green
    keyword \-hide-referrer green
    keyword \-hide-user-agent green
    keyword \-https-inspection green
    keyword \-ignore-certificate-errors green
    keyword \-limit-connect green
    keyword \-limit-cookie-lifetime green
    keyword \-prevent-compression green
    keyword \-overwrite-last-modified green
    keyword \-redirect green
    keyword \-server-header-filter green
    keyword \-server-header-tagger green
    keyword \-suppress-tag green
    keyword \-session-cookies-only green
    keyword \-set-image-blocker green

    keyword block cyan
    keyword add cyan
    keyword last cyan
    keyword first  cyan
    keyword simple-check cyan
    keyword check-decoded-url cyan
    keyword block cyan
    keyword forward-socks4a cyan
    keyword forward-socks5 cyan
    keyword forward-webserver cyan
    keyword forward cyan
    keyword conditional-block cyan
    keyword conditional-forge cyan
    keyword forge cyan
    keyword reset-to-request-time cyan
    keyword randomize cyan

    # 8.5.18 + 9.2
    keyword js-annoyances  cyan
    keyword js-events cyan
    keyword html-annoyances cyan
    keyword content-cookies cyan
    keyword refresh-tags cyan
    keyword unsolicited-popups cyan
    keyword all-popups cyan
    keyword img-reorder cyan
    keyword banners-by-size cyan
    keyword banners-by-link cyan
    keyword webbugs cyan
    keyword tiny-textforms cyan
    keyword jumping-windows cyan
    keyword frameset-borders cyan
    keyword iframes cyan
    keyword demoronizer cyan
    keyword shockwave-flash cyan
    keyword quicktime-kioskmode cyan
    keyword fun cyan
    keyword crude-parental cyan
    keyword ie-exploits cyan
    keyword site-specifics cyan
    keyword no-ping cyan
    keyword github cyan
    keyword google cyan
    keyword imdb cyan
    keyword yahoo cyan
    keyword msn cyan
    keyword blogspot cyan
    keyword sourceforge cyan
    keyword xml-to-html cyan
    keyword html-to-xml cyan
    keyword no-ping cyan
    keyword hide-tor-exit-notation cyan

# Lines, which ignored by Privoxy, if it starts with "- ":
context linestart -\s \n gray

# Comments:
context linestart # \n brown
    spellcheck
context linestart \s\[\s\]# \n brown
    spellcheck
context linestart /\s \n brown
    spellcheck