LEFT | RIGHT |
1 title = $script - ABP Test Pages | 1 title = $script |
2 template = testcase | 2 template = testcase |
3 | 3 |
4 {% set testcase_moreinfo = [ | 4 {% set testcase_moreinfo = [ |
5 ("Filter Options", "https://adblockplus.org/filters#options"), | 5 ("Filter Options", "https://adblockplus.org/filters#options"), |
6 ] %} | 6 ] %} |
7 | 7 |
8 | 8 |
9 <section class="site-panel"> | 9 <section class="site-panel"> |
10 <h2>$script</h2> | 10 <h2>$script</h2> |
11 <p>Check that usage of the $script filter option works as expected.</p> | 11 <p>Check that usage of the $script filter option works as expected.</p> |
| 12 <p>With the filter displayed below each test case added to ABP (or with the te
stcase subscription installed and active), the scripts in each test case panel s
hould be blocked but the images should not.</p> |
12 </section> | 13 </section> |
13 | 14 |
14 <section class="site-panel"> | 15 <section class="site-panel"> |
15 <h2>Test case</h2> | 16 <h2>Test case</h2> |
16 <p>The script should be blocked. The image should not be blocked.</p> | 17 <p>The script should be blocked. The image should not be blocked.</p> |
17 <div class="testcase-container"> | 18 <div class="testcase-container"> |
18 <div class="testcase-row"> | 19 <div class="testcase-row"> |
19 <h3>Script</h3><div id="testcase-scripttarget"></div> | 20 <h3>Script</h3><div id="testcase-scripttarget"></div> |
20 </div> | 21 </div> |
21 <div class="testcase-row"> | 22 <div class="testcase-row"> |
22 » <h3>Image</h3><img class="testcase-image" src="/testcasefiles/script/i
mage.jpg"/> | 23 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/script/image
.jpg"/> |
23 </div> | 24 </div> |
24 </div> | 25 </div> |
25 <h3>Filters</h3> | 26 <h3>Filters</h3> |
26 testpages.adblockplus.org/testcasefiles/script/$script | 27 <pre>testpages.adblockplus.org/testcasefiles/script/$script</pre> |
27 </section> | 28 </section> |
28 | 29 |
29 <script src="/testcasefiles/script/script.js"></script> | 30 <script src="/testcasefiles/script/script.js"></script> |
LEFT | RIGHT |