| Index: pages/filters/script.tmpl |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/pages/filters/script.tmpl |
| @@ -0,0 +1,29 @@ |
| +title = $script - ABP Test Pages |
| +template = testcase |
| + |
| +{% set testcase_moreinfo = [ |
| + ("Filter Options", "https://adblockplus.org/filters#options"), |
| +] %} |
| + |
| + |
| +<section class="site-panel"> |
| + <h2>$script</h2> |
| + <p>Check that usage of the $script filter option works as expected.</p> |
| +</section> |
| + |
| +<section class="site-panel"> |
| + <h2>Test case</h2> |
| + <p>The script should be blocked. The image should not be blocked.</p> |
| + <div class="testcase-container"> |
| + <div class="testcase-row"> |
| + <h3>Script</h3><div id="testcase-scripttarget"></div> |
| + </div> |
| + <div class="testcase-row"> |
| + <h3>Image</h3><img class="testcase-image" src="/testcasefiles/script/image.jpg"/> |
|
kzar
2018/04/19 13:08:21
Nit: Git warned me that you've accidentally put a
|
| + </div> |
| + </div> |
| + <h3>Filters</h3> |
| + testpages.adblockplus.org/testcasefiles/script/$script |
| +</section> |
| + |
| +<script src="/testcasefiles/script/script.js"></script> |