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

Unified Diff: pages/filters/element-hiding-emulation.tmpl

Issue 29874607: Issue 6769 - Avoid hardcoding the URL (Closed)
Patch Set: Created Sept. 4, 2018, 4:23 p.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
Index: pages/filters/element-hiding-emulation.tmpl
diff --git a/pages/filters/element-hiding-emulation.tmpl b/pages/filters/element-hiding-emulation.tmpl
index 267b76da1b118c7f4ca6bb2980366bf9937a4a87..985afe526632c24284d2537aa5af4cf7abd624b6 100644
--- a/pages/filters/element-hiding-emulation.tmpl
+++ b/pages/filters/element-hiding-emulation.tmpl
@@ -18,7 +18,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div:-abp-properties(width: 213px)</pre>
+ <pre>{{ site_url|strip_proto }}#?#div:-abp-properties(width: 213px)</pre>
</section>
<section class="site-panel">
@@ -33,7 +33,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div:-abp-has(>div>img.testcase-es-has)</pre>
+ <pre>{{ site_url|strip_proto }}#?#div:-abp-has(>div>img.testcase-es-has)</pre>
</section>
@@ -44,7 +44,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#span:-abp-contains(ESContainsTarget)</pre>
+ <pre>{{ site_url|strip_proto }}#?#span:-abp-contains(ESContainsTarget)</pre>
</section>
<section class="site-panel">
@@ -56,7 +56,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div:-abp-has(> div:-abp-properties(width: 214px))</pre>
+ <pre>{{ site_url|strip_proto }}#?#div:-abp-has(> div:-abp-properties(width: 214px))</pre>
</section>
@@ -67,7 +67,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div:-abp-properties(WiDtH: 215px)</pre>
+ <pre>{{ site_url|strip_proto }}#?#div:-abp-properties(WiDtH: 215px)</pre>
</section>
<section class="site-panel">
@@ -77,7 +77,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div:-abp-properties(cursor:*)</pre>
+ <pre>{{ site_url|strip_proto }}#?#div:-abp-properties(cursor:*)</pre>
</section>
<section class="site-panel">
@@ -89,7 +89,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div:-abp-properties(/width: 12[1-5]px;/)</pre>
+ <pre>{{ site_url|strip_proto }}#?#div:-abp-properties(/width: 12[1-5]px;/)</pre>
</section>
@@ -102,5 +102,5 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div > div:-abp-contains(/ESContainsRegEx\d/)</pre>
+ <pre>{{ site_url|strip_proto }}#?#div > div:-abp-contains(/ESContainsRegEx\d/)</pre>
</section>

Powered by Google App Engine
This is Rietveld