| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE language> |
| 3 |
<!-- See https://adblockplus.org/en/filters --> |
| 4 |
<language |
| 5 |
name="Adblock Plus" |
| 6 |
version="2" |
| 7 |
kateversion="5.0" |
| 8 |
section="Configuration" |
| 9 |
author="Volker Krause ([email protected])" |
| 10 |
extensions="" |
| 11 |
license="MIT"> |
| 12 |
<highlighting> |
| 13 |
<list name="special-comment-list"> |
| 14 |
<item>Homepage</item> |
| 15 |
<item>Title</item> |
| 16 |
<item>Expires</item> |
| 17 |
<item>Checksum</item> |
| 18 |
<item>Redirect</item> |
| 19 |
<item>Version</item> |
| 20 |
</list> |
| 21 |
<list name="filter-option-list"> |
| 22 |
<item>script</item> |
| 23 |
<item>image</item> |
| 24 |
<item>stylesheet</item> |
| 25 |
<item>object</item> |
| 26 |
<item>xmlhttprequest</item> |
| 27 |
<item>object-subrequest</item> |
| 28 |
<item>subdocument</item> |
| 29 |
<item>ping</item> |
| 30 |
<item>websocket</item> |
| 31 |
<item>webrtc</item> |
| 32 |
<item>document</item> |
| 33 |
<item>elemhide</item> |
| 34 |
<item>generichide</item> |
| 35 |
<item>genericblock</item> |
| 36 |
<item>popup</item> |
| 37 |
<item>other</item> |
| 38 |
<item>third-party</item> |
| 39 |
<item>domain</item> |
| 40 |
<item>sitekey</item> |
| 41 |
<item>match-case</item> |
| 42 |
<item>collapse</item> |
| 43 |
<item>donottrack</item> |
| 44 |
</list> |
| 45 |
|
| 46 |
<contexts> |
| 47 |
<context name="rule-context" attribute="Normal Text" lineEndContext="#stay"> |
| 48 |
<DetectChar char="!" column="0" context="comment-context" attribute="Comment"/> |
| 49 |
<DetectChar char="[" column="0" context="header-context" attribute="Header"/> |
| 50 |
<Detect2Chars char="@" char1="@" column="0" context="exception-context" attribute="Exception Rule"/> |
| 51 |
<DetectChar char="$" context="option-context" attribute="Filter Option"/> |
| 52 |
<Detect2Chars char="#" char1="#" context="element-hiding-context" attribute="Element Hiding Rule"/> |
| 53 |
<StringDetect String="#@#" context="element-hiding-context" attribute="Element Hiding Rule"/> |
| 54 |
</context> |
| 55 |
|
| 56 |
<context name="comment-context" attribute="Comment" lineEndContext="#pop"> |
| 57 |
<keyword String="special-comment-list" attribute="Special Comment"/> |
| 58 |
</context> |
| 59 |
|
| 60 |
<context name="header-context" attribute="Header" lineEndContext="#pop"/> |
| 61 |
|
| 62 |
<context name="exception-context" attribute="Exception Rule" lineEndContext="#pop"> |
| 63 |
<DetectChar char="$" context="#pop!option-context" attribute="Filter Option"/> |
| 64 |
</context> |
| 65 |
|
| 66 |
<context name="option-context" attribute="Normal Text" lineEndContext="#pop"> |
| 67 |
<keyword String="filter-option-list" attribute="Filter Option"/> |
| 68 |
</context> |
| 69 |
|
| 70 |
<context name="element-hiding-context" attribute="Element Hiding Rule" lineEndContext="#pop"/> |
| 71 |
</contexts> |
| 72 |
|
| 73 |
<itemDatas> |
| 74 |
<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/> |
| 75 |
<itemData name="Comment" defStyleNum="dsComment"/> |
| 76 |
<itemData name="Special Comment" defStyleNum="dsCommentVar" spellChecking="false"/> |
| 77 |
<itemData name="Header" defStyleNum="dsKeyword" spellChecking="false"/> |
| 78 |
<itemData name="Exception Rule" defStyleNum="dsVariable" spellChecking="false"/> |
| 79 |
<itemData name="Filter Option" defStyleNum="dsFunction" spellChecking="false"/> |
| 80 |
<itemData name="Element Hiding Rule" defStyleNum="dsString" spellChecking="false"/> |
| 81 |
</itemDatas> |
| 82 |
</highlighting> |
| 83 |
|
| 84 |
<general> |
| 85 |
<comments> |
| 86 |
<comment name="singleLine" start="!"/> |
| 87 |
</comments> |
| 88 |
<keywords casesensitive="1" weakDeliminator="-" additionalDeliminator="$"/> |
| 89 |
</general> |
| 90 |
</language> |
| 91 |
<!-- kate: replace-tabs on; tab-width 4; indent-width 4; --> |