OLD | NEW |
(Empty) | |
| 1 title = $script - ABP Test Pages |
| 2 template = testcase |
| 3 |
| 4 {% set testcase_moreinfo = [ |
| 5 ("Filter Options", "https://adblockplus.org/filters#options"), |
| 6 ] %} |
| 7 |
| 8 |
| 9 <section class="site-panel"> |
| 10 <h2>$script</h2> |
| 11 <p>Check that usage of the $script filter option works as expected.</p> |
| 12 </section> |
| 13 |
| 14 <section class="site-panel"> |
| 15 <h2>Test case</h2> |
| 16 <p>The script should be blocked. The image should not be blocked.</p> |
| 17 <div class="testcase-container"> |
| 18 <div class="testcase-row"> |
| 19 <h3>Script</h3><div id="testcase-scripttarget"></div> |
| 20 </div> |
| 21 <div class="testcase-row"> |
| 22 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/script/i
mage.jpg"/> |
| 23 </div> |
| 24 </div> |
| 25 <h3>Filters</h3> |
| 26 testpages.adblockplus.org/testcasefiles/script/$script |
| 27 </section> |
| 28 |
| 29 <script src="/testcasefiles/script/script.js"></script> |
OLD | NEW |