Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: pages/filter-cheatsheet.raw

Issue 6021528219025408: Issue #1170 More progress migrating adblockplus.org to our CMS. (Closed)
Patch Set: Created Sept. 1, 2014, 10:45 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pages/features.raw ('k') | pages/filters.raw » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/filter-cheatsheet.raw
===================================================================
--- a/pages/filter-cheatsheet.raw
+++ b/pages/filter-cheatsheet.raw
@@ -16,7 +16,7 @@
font-size: 200%;
padding: 0px 5px;
}
- .filter > *
+ .filter > *
{
display: inline-block;
border-top: 2px solid;
@@ -26,12 +26,12 @@
padding: 3px;
opacity: 0.6;
}
- .filter > .active
+ .filter > .active
{
opacity: 1.0;
}
- .explanations > *
+ .explanations > *
{
display: inline-block;
text-align: left;
@@ -42,7 +42,7 @@
padding: 0px 5px;
opacity: 0.6;
}
- .explanations > .active
+ .explanations > .active
{
opacity: 1.0;
}
@@ -55,96 +55,96 @@
margin-bottom: 0px !important;
}
- .filter > .verbatim
+ .filter > .verbatim
{
color: #000000;
border-top-color: #000000;
}
- .explanations > .verbatim
+ .explanations > .verbatim
{
border-color: #000000;
}
- .filter > .wildcard
+ .filter > .wildcard
{
color: #FF8000;
border-top-color: #FF8000;
}
- .explanations > .wildcard
+ .explanations > .wildcard
{
border-color: #FF8000;
}
- .filter > .separator
+ .filter > .separator
{
color: #FF0000;
border-top-color: #FF0000;
}
- .explanations > .separator
+ .explanations > .separator
{
border-color: #FF0000;
}
- .filter > .domainAnchor
+ .filter > .domainAnchor
{
color: #00C080;
border-top-color: #00C080;
}
- .explanations > .domainAnchor
+ .explanations > .domainAnchor
{
border-color: #00C080;
}
- .filter > .startAnchor,
- .filter > .endAnchor
+ .filter > .startAnchor,
+ .filter > .endAnchor
{
color: #00C0C0;
border-top-color: #00C0C0;
}
- .explanations > .startAnchor,
- .explanations > .endAnchor
+ .explanations > .startAnchor,
+ .explanations > .endAnchor
{
border-color: #00C0C0;
}
- .filter > .optionSeparator
+ .filter > .optionSeparator
{
color: #FF0080;
border-top-color: #FF0080;
}
- .explanations > .optionSeparator
+ .explanations > .optionSeparator
{
border-color: #FF0080;
}
- .filter > .typeOption,
- .filter > .domainOption
+ .filter > .typeOption,
+ .filter > .domainOption
{
color: #800040;
border-top-color: #800040;
}
- .explanations > .typeOption,
- .explanations > .domainOption
+ .explanations > .typeOption,
+ .explanations > .domainOption
{
border-color: #800040;
}
- .filter > .exception
+ .filter > .exception
{
color: #00C000;
border-top-color: #00C000;
}
- .explanations > .exception
+ .explanations > .exception
{
border-color: #00C000;
}
- .filter > .comment
+ .filter > .comment
{
color: #C0C0C0;
border-top-color: #C0C0C0;
}
- .explanations > .comment
+ .explanations > .comment
{
border-color: #C0C0C0;
}
@@ -164,7 +164,7 @@
vertical-align: top;
padding: 5px;
}
- td > p:first-child
+ td > p:first-child
{
margin-top: 0px;
}
@@ -343,448 +343,448 @@
$s15$
</p>
<ul>
- <li><code>http://example.com/banner/foo/img</code></li>
- <li><code>http://example.com/banner/foo/bar/img?param</code></li>
- <li><code>http://example.com/banner//img/foo</code></li>
+ <li><code>$s16$</code></li>
+ <li><code>$s17$</code></li>
+ <li><code>$s18$</code></li>
</ul>
<p>
- $s16$
+ $s19$
</p>
<ul>
- <li><code>http://example.com/banner/img</code></li>
- <li><code>http://example.com/banner/foo/imgraph</code></li>
- <li><code>http://example.com/banner/foo/img.gif</code></li>
+ <li><code>$s20$</code></li>
+ <li><code>$s21$</code></li>
+ <li><code>$s22$</code></li>
</ul>
-<h3 id="blocking2">$s17$</h3>
+<h3 id="blocking2">$s23$</h3>
<div class="example">
<div class="explanations">
<div class="domainAnchor">
- <h4><a href="filters#anchors">$s18$</a></h4>
- <p>$s19$</p>
+ <h4><a href="filters#anchors">$s24$</a></h4>
+ <p>$s25$</p>
</div>
<div class="verbatim">
- <h4>$s20$</h4>
- <p>$s21$</p>
+ <h4>$s5$</h4>
+ <p>$s6$</p>
</div>
<div class="separator">
- <h4><a href="filters#separators">$s22$</a></h4>
- <p>$s23$</p>
+ <h4><a href="filters#separators">$s9$</a></h4>
+ <p>$s29$</p>
</div>
</div>
<div style="line-height: 0;"><canvas class="canvas"></canvas></div>
<div class="filter">
- <span class="domainAnchor">$s24$</span><span class="verbatim">$s25$</span><span class="separator">$s26$</span>
+ <span class="domainAnchor">$s30$</span><span class="verbatim">$s31$</span><span class="separator">$s14$</span>
</div>
</div>
<p>
- $s27$
+ $s15$
</p>
<ul>
- <li><code>http://ads.example.com/foo.gif</code></li>
- <li><code>http://server1.ads.example.com/foo.gif</code></li>
- <li><code>https://ads.example.com:8000/</code></li>
+ <li><code>$s34$</code></li>
+ <li><code>$s35$</code></li>
+ <li><code>$s36$</code></li>
</ul>
<p>
- $s28$
+ $s19$
</p>
<ul>
- <li><code>http://ads.example.com.ua/foo.gif</code></li>
- <li><code>http://example.com/redirect/http://ads.example.com/</code></li>
+ <li><code>$s38$</code></li>
+ <li><code>$s39$</code></li>
</ul>
-<h3 id="blocking3">$s29$</h3>
+<h3 id="blocking3">$s40$</h3>
<div class="example">
<div class="explanations">
<div class="startAnchor">
- <h4><a href="filters#anchors">$s30$</a></h4>
- <p>$s31$</p>
+ <h4><a href="filters#anchors">$s41$</a></h4>
+ <p>$s42$</p>
</div>
<div class="verbatim">
- <h4>$s32$</h4>
- <p>$s33$</p>
+ <h4>$s5$</h4>
+ <p>$s6$</p>
</div>
<div class="endAnchor">
- <h4><a href="filters#anchors">$s34$</a></h4>
- <p>$s35$</p>
+ <h4><a href="filters#anchors">$s45$</a></h4>
+ <p>$s46$</p>
</div>
</div>
<div style="line-height: 0;"><canvas class="canvas"></canvas></div>
<div class="filter">
- <span class="startAnchor">$s36$</span><span class="verbatim">$s37$</span><span class="endAnchor">$s38$</span>
+ <span class="startAnchor">$s47$</span><span class="verbatim">$s48$</span><span class="endAnchor">$s47$</span>
</div>
</div>
<p>
- $s39$
+ $s15$
</p>
<ul>
- <li><code>http://example.com/</code></li>
+ <li><code>$s48$</code></li>
</ul>
<p>
- $s40$
+ $s19$
</p>
<ul>
- <li><code>http://example.com/foo.gif</code></li>
- <li><code>http://example.info/redirect/http://example.com/</code></li>
+ <li><code>$s53$</code></li>
+ <li><code>$s54$</code></li>
</ul>
-<h2 id="options">$s41$</h2>
+<h2 id="options">$s55$</h2>
<p>
- $s42$
+ $s56$
</p>
<div class="example">
<div class="explanations">
<div class="verbatim">
- <h4>$s43$</h4>
- <p>$s44$</p>
+ <h4>$s57$</h4>
+ <p>$s58$</p>
</div>
<div class="optionSeparator">
- <h4>$s45$</h4>
- <p>$s46$</p>
+ <h4>$s59$</h4>
+ <p>$s60$</p>
</div>
<div class="typeOption">
- <h4><a href="#options">$s47$</a></h4>
+ <h4><a href="#options">$s61$</a></h4>
<p>
- $s48$
- <code>$s49$</code> $s50$ <code>$s51$</code> $s52$ <code>$s53$</code>
- $s54$
+ $s62$
+ <code>$s63$</code> $s64$ <code>$s65$</code> $s66$ <code>$s67$</code>
+ $s68$
</p>
</div>
<div class="domainOption">
- <h4><a href="#options">$s55$</a></h4>
+ <h4><a href="#options">$s69$</a></h4>
<p>
- $s56$ <code>$s57$</code>$s58$ <code>$s59$</code>$s60$
+ $s70$ <code>$s71$</code>$s72$ <code>$s73$</code>$s74$
</p>
</div>
</div>
<div style="line-height: 0;"><canvas class="canvas"></canvas></div>
<div class="filter">
- <span class="verbatim">$s61$</span><span class="optionSeparator">$s62$</span><span class="typeOption">$s63$</span>$s64$<span class="typeOption">$s65$</span>$s66$<span class="domainOption">$s67$</span>
+ <span class="verbatim">$s75$</span><span class="optionSeparator">$s76$</span><span class="typeOption">$s63$</span>$s78$<span class="typeOption">$s65$</span>$s78$<span class="domainOption">$s81$</span>
</div>
</div>
<p>
- $s68$ <code>http://ads.example.com/foo.gif</code> $s69$
+ $s82$ <code>$s34$</code> $s84$
</p>
<ul>
- <li>$s70$</li>
+ <li>$s85$</li>
<li>
- $s71$ <code>example.com</code> $s72$ <code>example.com</code> $s73$ <code>subdomain.example.com</code>$s74$ <code>foo.example.com</code> $s75$
+ $s86$ <code>$s71$</code> $s88$ <code>$s71$</code> $s90$ <code>$s91$</code>$s92$ <code>$s73$</code> $s94$
</li>
</ul>
-<h2 id="exceptions">$s76$</h2>
+<h2 id="exceptions">$s95$</h2>
<p>
- $s77$
+ $s96$
</p>
-<h3 id="exceptions1">$s78$</h3>
+<h3 id="exceptions1">$s97$</h3>
<div class="example">
<div class="explanations">
<div class="exception">
- <h4>$s79$</h4>
- <p>$s80$</p>
+ <h4>$s98$</h4>
+ <p>$s99$</p>
</div>
<div class="verbatim">
- <h4>$s81$</h4>
- <p>$s82(#blocking)$</p>
+ <h4>$s100$</h4>
+ <p>$s101(#blocking)$</p>
</div>
<div class="typeOption">
- <h4><a href="#options">$s83$</a></h4>
+ <h4><a href="#options">$s61$</a></h4>
<p>
- $s84$
+ $s103$
</p>
</div>
</div>
<div style="line-height: 0;"><canvas class="canvas"></canvas></div>
<div class="filter">
- <span class="exception">$s85$</span><span class="verbatim">$s86$</span><span class="optionSeparator">$s87$</span><span class="typeOption">$s88$</span>
+ <span class="exception">$s104$</span><span class="verbatim">$s105$</span><span class="optionSeparator">$s76$</span><span class="typeOption">$s67$</span>
</div>
</div>
-<h3 id="exceptions2">$s89$</h3>
+<h3 id="exceptions2">$s108$</h3>
<div class="example">
<div class="explanations">
<div class="exception">
- <h4>$s90$</h4>
- <p>$s91$</p>
+ <h4>$s98$</h4>
+ <p>$s99$</p>
</div>
<div class="verbatim">
- <h4>$s92$</h4>
- <p>$s93(#blocking)$</p>
+ <h4>$s100$</h4>
+ <p>$s101(#blocking)$</p>
</div>
<div class="typeOption">
- <h4><a href="#options">$s94$</a></h4>
+ <h4><a href="#options">$s61$</a></h4>
<p>
- $s95$
+ $s114$
</p>
</div>
</div>
<div style="line-height: 0;"><canvas class="canvas"></canvas></div>
<div class="filter">
- <span class="exception">$s96$</span><span class="verbatim">$s97$</span><span class="optionSeparator">$s98$</span><span class="typeOption">$s99$</span>
+ <span class="exception">$s104$</span><span class="verbatim">$s116$</span><span class="optionSeparator">$s76$</span><span class="typeOption">$s118$</span>
</div>
</div>
-<h2 id="comments">$s100$</h2>
+<h2 id="comments">$s119$</h2>
<div class="example">
<div class="explanations">
<div class="comment">
- <h4>$s101$</h4>
- <p>$s102$</p>
+ <h4>$s120$</h4>
+ <p>$s121$</p>
</div>
<div class="verbatim">
- <h4>$s103$</h4>
- <p>$s104$</p>
+ <h4>$s122$</h4>
+ <p>$s123$</p>
</div>
</div>
<div style="line-height: 0;"><canvas class="canvas"></canvas></div>
<div class="filter">
- <span class="comment">$s105$</span><span class="verbatim">$s106$</span>
+ <span class="comment">$s124$</span><span class="verbatim">$s125$</span>
</div>
</div>
-<h2 id="options">$s107$</h2>
+<h2 id="options">$s126$</h2>
<table>
<col class="option">
<col class="optionPurpose">
<tr>
- <th>$s108$</th>
- <th>$s109$</th>
+ <th>$s127$</th>
+ <th>$s128$</th>
</tr>
<tr>
- <td colspan="2" style="text-align: center;">$s110$</td>
+ <td colspan="2" style="text-align: center;">$s129$</td>
</tr>
<tr>
- <td><code>script</code><br><code>~script</code></td>
- <td>$s111$</td>
+ <td><code>$s63$</code><br><code>$s67$</code></td>
+ <td>$s132$</td>
</tr>
<tr>
- <td><code>image</code><br><code>~image</code></td>
- <td>$s112$</td>
+ <td><code>$s65$</code><br><code>$s134$</code></td>
+ <td>$s135$</td>
</tr>
<tr>
- <td><code>stylesheet</code><br><code>~stylesheet</code></td>
- <td>$s113$</td>
+ <td><code>$s136$</code><br><code>$s137$</code></td>
+ <td>$s138$</td>
</tr>
<tr>
- <td><code>object</code><br><code>~object</code></td>
- <td>$s114$</td>
+ <td><code>$s139$</code><br><code>$s140$</code></td>
+ <td>$s141$</td>
</tr>
<tr>
- <td><code>object-subrequest</code><br><code>~object-subrequest</code></td>
- <td>$s115$</td>
+ <td><code>$s142$</code><br><code>$s143$</code></td>
+ <td>$s144$</td>
</tr>
<tr>
- <td><code>subdocument</code><br><code>~subdocument</code></td>
- <td>$s116$</td>
+ <td><code>$s145$</code><br><code>$s146$</code></td>
+ <td>$s147$</td>
</tr>
<tr>
- <td colspan="2" style="text-align: center;">$s117$</td>
+ <td colspan="2" style="text-align: center;">$s148$</td>
</tr>
<tr>
- <td><code>document</code></td>
- <td>$s118$ <code>@@||example.com^$document</code>$s119$</td>
+ <td><code>$s118$</code></td>
+ <td>$s150$ <code>$s151$</code>$s152$</td>
</tr>
<tr>
- <td><code>elemhide</code></td>
- <td>$s120$ <code>@@||example.com^$elemhide</code>$s121$</td>
+ <td><code>$s153$</code></td>
+ <td>$s154$ <code>$s155$</code>$s152$</td>
</tr>
<tr>
- <td colspan="2" style="text-align: center;">$s122$</td>
+ <td colspan="2" style="text-align: center;">$s157$</td>
</tr>
<tr>
- <td><code>domain=</code></td>
- <td>$s123$</td>
+ <td><code>$s158$</code></td>
+ <td>$s159$</td>
</tr>
<tr>
- <td><code>third-party</code><br><code>~third-party</code></td>
- <td>$s124$</td>
+ <td><code>$s160$</code><br><code>$s161$</code></td>
+ <td>$s162$</td>
</tr>
</table>
-<p>$s125$ <code>dtd</code>$s126$ <code>ping</code>$s127$ <code>xbl</code>$s128$ <code>xmlhttprequest</code>$s129$ <code>other</code>$s130$ <code>collapse</code>$s131$ <code>donottrack</code> $s132$ <code>match-case</code> $s133(https://adblockplus.org/en/filters#options)$</p>
+<p>$s163$ <code>$s164$</code>$s78$ <code>$s166$</code>$s78$ <code>$s168$</code>$s78$ <code>$s170$</code>$s78$ <code>$s172$</code>$s78$ <code>$s174$</code>$s78$ <code>$s176$</code> $s177$ <code>$s178$</code> $s179(https://adblockplus.org/en/filters#options)$</p>
-<h2 id="elementhiding">$s134$</h2>
+<h2 id="elementhiding">$s180$</h2>
-<p>$s135(https://addons.mozilla.org/firefox/addon/elemhidehelper/)$</p>
+<p>$s181(https://addons.mozilla.org/firefox/addon/elemhidehelper/)$</p>
-<h3 id="elementdomains">$s136$</h3>
+<h3 id="elementdomains">$s182$</h3>
-<p><code>##selector</code> $s137(#elementselection)$</p>
+<p><code>$s183$</code> $s184(#elementselection)$</p>
<table>
<col class="selector">
<col class="selectorPurpose">
<tr>
- <th>$s138$</th>
- <th>$s139$</th>
+ <th>$s185$</th>
+ <th>$s182$</th>
</tr>
<tr>
- <td><code>##selector</code></td>
+ <td><code>$s183$</code></td>
<td>
<p>
- $s140$
+ $s188$
<ul class="example-list">
- <li>$s141$</li>
- <li><code>http://example.com/</code></li>
- <li><code>https://example.net/</code></li>
- <li><code>ftp://example.edu/</code></li>
+ <li>$s189$</li>
+ <li><code>$s48$</code></li>
+ <li><code>$s191$</code></li>
+ <li><code>$s192$</code></li>
</ul>
</p>
<p>
- $s142$
+ $s193$
<ul class="example-list">
- <li>$s143$</li>
+ <li>$s194$</li>
</ul>
</p>
</td>
</tr>
<tr>
- <td><code>example.com##selector</code></td>
+ <td><code>$s195$</code></td>
<td>
<p>
- $s144$
+ $s196$
<ul class="example-list">
- <li><code>http://example.com/</code></li>
- <li><code>ftp://subdomain.example.com/</code></li>
+ <li><code>$s48$</code></li>
+ <li><code>$s198$</code></li>
</ul>
</p>
<p>
- $s145$
+ $s193$
<ul class="example-list">
- <li>$s146$</li>
- <li><code>http://example.edu/</code></li>
- <li><code>ftp://example.net/</code></li>
+ <li>$s200$</li>
+ <li><code>$s201$</code></li>
+ <li><code>$s202$</code></li>
</ul>
</p>
</td>
</tr>
<tr>
- <td><code>~example.com##selector</code></td>
+ <td><code>$s203$</code></td>
<td>
<p>
- $s147$
+ $s188$
<ul class="example-list">
- <li>$s148$</li>
- <li><code>http://example.edu/</code></li>
- <li><code>ftp://example.net/</code></li>
+ <li>$s200$</li>
+ <li><code>$s201$</code></li>
+ <li><code>$s202$</code></li>
</ul>
</p>
<p>
- $s149$
+ $s208$
<ul class="example-list">
- <li><code>http://example.com/</code></li>
- <li><code>ftp://subdomain.example.com/</code></li>
+ <li><code>$s48$</code></li>
+ <li><code>$s198$</code></li>
</ul>
</p>
</td>
</tr>
<tr>
- <td><code>example.com,example.edu##selector</code></td>
+ <td><code>$s211$</code></td>
<td>
<p>
- $s150$
+ $s196$
<ul class="example-list">
- <li><code>http://example.com/</code></li>
- <li><code>https://subdomain.example.com/</code></li>
- <li><code>ftp://example.edu/</code></li>
+ <li><code>$s48$</code></li>
+ <li><code>$s214$</code></li>
+ <li><code>$s192$</code></li>
</ul>
</p>
<p>
- $s151$
+ $s193$
<ul class="example-list">
- <li>$s152$</li>
- <li><code>http://example.net/</code></li>
+ <li>$s217$</li>
+ <li><code>$s218$</code></li>
</ul>
</p>
</td>
</tr>
<tr>
- <td><code>example.com,~mail.example.com#selector</code></td>
+ <td><code>$s219$</code></td>
<td>
<p>
- $s153$
+ $s188$
<ul class="example-list">
- <li><code>http://example.com/</code></li>
- <li><code>https://adverts.example.com/</code></li>
- <li><code>ftp://subdomain.example.edu/</code></li>
+ <li><code>$s48$</code></li>
+ <li><code>$s222$</code></li>
+ <li><code>$s223$</code></li>
</ul>
</p>
<p>
- $s154$
+ $s193$
<ul class="example-list">
- <li><code>http://mail.example.com/</code></li>
- <li>$s155$</li>
+ <li><code>$s225$</code></li>
+ <li>$s226$</li>
</ul>
</p>
</td>
</tr>
</table>
-<h3 id="elementselection">$s156$</h3>
+<h3 id="elementselection">$s227$</h3>
<table>
<col class="selector">
<col class="selectorPurpose">
<tr>
- <th>$s157$</th>
- <th>$s158$</th>
+ <th>$s228$</th>
+ <th>$s128$</th>
</tr>
<tr>
- <td><code>###advert</code></td>
- <td>$s159$</td>
+ <td><code>$s230$</code></td>
+ <td>$s231$</td>
</tr>
<tr>
- <td><code>##.advert</code></td>
- <td>$s160$</td>
+ <td><code>$s232$</code></td>
+ <td>$s233$</td>
</tr>
<tr>
- <td><code>##table[height=&quot;100&quot;][width=&quot;100&quot;]</code></td>
- <td>$s161$</td>
+ <td><code>$s234$</code></td>
+ <td>$s235$</td>
</tr>
<tr>
- <td><code>##a[href=&quot;http://example.com/&quot;]</code></td>
- <td>$s162$</td>
+ <td><code>$s236$</code></td>
+ <td>$s237$</td>
</tr>
<tr>
- <td><code>##div[style=&quot;width:300px;height:250px;&quot;]</code></td>
- <td>$s163$</td>
+ <td><code>$s238$</code></td>
+ <td>$s239$</td>
</tr>
<tr>
- <td><code>###advert &gt; .link</code></td>
- <td>$s164$</td>
+ <td><code>$s240$</code></td>
+ <td>$s241$</td>
</tr>
<tr>
- <td><code>###advert + .link</code></td>
- <td>$s165$</td>
+ <td><code>$s242$</code></td>
+ <td>$s243$</td>
</tr>
<tr>
- <td><code>##a[href^=&quot;http://example.com/&quot;]</code></td>
- <td>$s166$</td>
+ <td><code>$s244$</code></td>
+ <td>$s245$</td>
</tr>
<tr>
- <td><code>##div[style^=&quot;width:300px;height:250px;&quot;]</code></td>
- <td>$s167$</td>
+ <td><code>$s246$</code></td>
+ <td>$s247$</td>
</tr>
<tr>
- <td><code>##div[style$=&quot;width:300px;height:250px;&quot;]</code></td>
- <td>$s168$</td>
+ <td><code>$s248$</code></td>
+ <td>$s249$</td>
</tr>
<tr>
- <td><code>##div[style*=&quot;width:300px;height:250px;&quot;]</code></td>
- <td>$s169$</td>
+ <td><code>$s250$</code></td>
+ <td>$s251$</td>
</tr>
</table>
-<p>$s170(http://www.w3.org/TR/css3-selectors/)$</p>
+<p>$s252(http://www.w3.org/TR/css3-selectors/)$</p>
« no previous file with comments | « pages/features.raw ('k') | pages/filters.raw » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld