privoxy.syntax 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. # Privoxy action file syntax highlighting
  2. # Version: 2022-07-02
  3. # Author: Bogdan Pylypenko <bogdan.pylypenko107@gmail.com>
  4. # This definition is under the GNU GPL version 3.0.
  5. context default
  6. context { }\n magenta
  7. keyword \\ brown
  8. keyword \+add-header yellow
  9. keyword \+block yellow
  10. keyword \+change-x-forwarded-for yellow
  11. keyword \+client-header-filter yellow
  12. keyword \+client-body-filter yellow
  13. keyword \+client-header-tagger yellow
  14. keyword \+content-type-overwrite yellow
  15. keyword \+crunch-client-header yellow
  16. keyword \+crunch-if-none-match yellow
  17. keyword \+crunch-incoming-cookies yellow
  18. keyword \+crunch-server-header yellow
  19. keyword \+crunch-outgoing-cookies yellow
  20. keyword \+deanimate-gifs yellow
  21. keyword \+delay-response yellow
  22. keyword \+downgrade-http-version yellow
  23. keyword \+external-filter yellow
  24. keyword \+fast-redirects yellow
  25. keyword \+filter yellow
  26. keyword \+force-text-mode yellow
  27. keyword \+forward-override yellow
  28. keyword \+handle-as-empty-document yellow
  29. keyword \+handle-as-image yellow
  30. keyword \+hide-accept-language yellow
  31. keyword \+hide-content-disposition yellow
  32. keyword \+hide-if-modified-since yellow
  33. keyword \+hide-from-header yellow
  34. keyword \+hide-referrer yellow
  35. keyword \+hide-user-agent yellow
  36. keyword \+https-inspection yellow
  37. keyword \+ignore-certificate-errors yellow
  38. keyword \+limit-connect yellow
  39. keyword \+limit-cookie-lifetime yellow
  40. keyword \+prevent-compression yellow
  41. keyword \+overwrite-last-modified yellow
  42. keyword \+redirect yellow
  43. keyword \+server-header-filter yellow
  44. keyword \+server-header-tagger yellow
  45. keyword \+suppress-tag yellow
  46. keyword \+session-cookies-only yellow
  47. keyword \+set-image-blocker yellow
  48. keyword \-add-header green
  49. keyword \-block green
  50. keyword \-change-x-forwarded-for green
  51. keyword \-client-header-filter green
  52. keyword \-client-body-filter green
  53. keyword \-client-header-tagger green
  54. keyword \-content-type-overwrite green
  55. keyword \-crunch-client-header green
  56. keyword \-crunch-if-none-match green
  57. keyword \-crunch-incoming-cookies green
  58. keyword \-crunch-server-header green
  59. keyword \-crunch-outgoing-cookies green
  60. keyword \-deanimate-gifs green
  61. keyword \-delay-response green
  62. keyword \-downgrade-http-version green
  63. keyword \-external-filter green
  64. keyword \-fast-redirects green
  65. keyword \-filter green
  66. keyword \-force-text-mode green
  67. keyword \-forward-override green
  68. keyword \-handle-as-empty-document green
  69. keyword \-handle-as-image green
  70. keyword \-hide-accept-language green
  71. keyword \-hide-content-disposition green
  72. keyword \-hide-if-modified-since green
  73. keyword \-hide-from-header green
  74. keyword \-hide-referrer green
  75. keyword \-hide-user-agent green
  76. keyword \-https-inspection green
  77. keyword \-ignore-certificate-errors green
  78. keyword \-limit-connect green
  79. keyword \-limit-cookie-lifetime green
  80. keyword \-prevent-compression green
  81. keyword \-overwrite-last-modified green
  82. keyword \-redirect green
  83. keyword \-server-header-filter green
  84. keyword \-server-header-tagger green
  85. keyword \-suppress-tag green
  86. keyword \-session-cookies-only green
  87. keyword \-set-image-blocker green
  88. keyword block cyan
  89. keyword add cyan
  90. keyword last cyan
  91. keyword first cyan
  92. keyword simple-check cyan
  93. keyword check-decoded-url cyan
  94. keyword block cyan
  95. keyword forward-socks4a cyan
  96. keyword forward-socks5 cyan
  97. keyword forward-webserver cyan
  98. keyword forward cyan
  99. keyword conditional-block cyan
  100. keyword conditional-forge cyan
  101. keyword forge cyan
  102. keyword reset-to-request-time cyan
  103. keyword randomize cyan
  104. # 8.5.18 + 9.2
  105. keyword js-annoyances cyan
  106. keyword js-events cyan
  107. keyword html-annoyances cyan
  108. keyword content-cookies cyan
  109. keyword refresh-tags cyan
  110. keyword unsolicited-popups cyan
  111. keyword all-popups cyan
  112. keyword img-reorder cyan
  113. keyword banners-by-size cyan
  114. keyword banners-by-link cyan
  115. keyword webbugs cyan
  116. keyword tiny-textforms cyan
  117. keyword jumping-windows cyan
  118. keyword frameset-borders cyan
  119. keyword iframes cyan
  120. keyword demoronizer cyan
  121. keyword shockwave-flash cyan
  122. keyword quicktime-kioskmode cyan
  123. keyword fun cyan
  124. keyword crude-parental cyan
  125. keyword ie-exploits cyan
  126. keyword site-specifics cyan
  127. keyword no-ping cyan
  128. keyword github cyan
  129. keyword google cyan
  130. keyword imdb cyan
  131. keyword yahoo cyan
  132. keyword msn cyan
  133. keyword blogspot cyan
  134. keyword sourceforge cyan
  135. keyword xml-to-html cyan
  136. keyword html-to-xml cyan
  137. keyword no-ping cyan
  138. keyword hide-tor-exit-notation cyan
  139. # Lines, which ignored by Privoxy, if it starts with "- ":
  140. context linestart -\s \n gray
  141. # Comments:
  142. context linestart # \n brown
  143. spellcheck
  144. context linestart \s\[\s\]# \n brown
  145. spellcheck
  146. context linestart /\s \n brown
  147. spellcheck