Index: pages/abp-testcase-subscription.txt.tmpl |
diff --git a/pages/abp-testcase-subscription.txt.tmpl b/pages/abp-testcase-subscription.txt.tmpl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7e03a2681ea3872c26958846781395e8c2d9f0cc |
--- /dev/null |
+++ b/pages/abp-testcase-subscription.txt.tmpl |
@@ -0,0 +1,97 @@ |
+template=plaintext |
+[Adblock Plus 2.0] |
+ |
+! filters/blocking |
+||{{ site_url|strip_proto }}/testcasefiles/blocking/addresscomplete/image.jpg |
+/testcasefiles/blocking/addresspart/abptestcasepath/ |
+||{{ site_url|strip_proto }}/testcasefiles/blocking/wildcard/*/image.jpg |
+ |
+! filters/element-hiding |
+{{ site_url|strip_proto }}###testcase-eh-id |
+{{ site_url|strip_proto }}##.testcase-eh-class |
+{{ site_url|strip_proto }}##.testcase-container > .testcase-eh-descendant |
+{{ site_url|strip_proto }}##.testcase-eh-sibling + .testcase-eh-sibling-target |
+{{ site_url|strip_proto }}##table[height="100"][width="100"] |
+{{ site_url|strip_proto }}##a[href="http://testcase-attribute.com/"] |
+{{ site_url|strip_proto }}##div[style="width:199px;height:51px;"] |
+{{ site_url|strip_proto }}##a[href^="http://testcase-attributestartswith.com/"] |
+{{ site_url|strip_proto }}##div[style^="width:201px;height:51px;"] |
+{{ site_url|strip_proto }}##div[style$="width:202px;height:51px;"] |
+{{ site_url|strip_proto }}##div[style*="width:203px;height:51px;"] |
+ |
+! filters/extended-selectors |
+{{ site_url|strip_proto }}#?#div:-abp-properties(width: 213px) |
+{{ site_url|strip_proto }}#?#div:-abp-has(>div>img.testcase-es-has) |
+{{ site_url|strip_proto }}#?#span:-abp-contains(ESContainsTarget) |
+{{ site_url|strip_proto }}#?#div:-abp-has(> div:-abp-properties(width: 214px)) |
+{{ site_url|strip_proto }}#?#div:-abp-properties(WiDtH: 215px) |
+{{ site_url|strip_proto }}#?#div:-abp-properties(cursor:*) |
+{{ site_url|strip_proto }}#?#div:-abp-properties(/width: 12[1-5]px;/) |
+{{ site_url|strip_proto }}#?#div > div:-abp-contains(/ESContainsRegEx[1-2]/) |
+ |
+! filters/popup |
+||{{ site_url|strip_proto }}/en/popuptarget^$popup |
+! filters/image |
+{{ site_url|strip_proto }}/testcasefiles/image/$image |
+! filters/script |
+{{ site_url|strip_proto }}/testcasefiles/script/$script |
+! filters/stylesheet |
+{{ site_url|strip_proto }}/testcasefiles/stylesheet/$stylesheet |
+! filters/subdocument |
+{{ site_url|strip_proto }}/testcasefiles/subdocument/$subdocument |
+! filters/object |
+{{ site_url|strip_proto }}/testcasefiles/object/$object |
+! filters/objectsubrequest |
+{{ site_url|strip_proto }}/testcasefiles/objectsubrequest/$object-subrequest |
+! filters/xmlhttprequest |
+{{ site_url|strip_proto }}/testcasefiles/xmlhttprequest/$xmlhttprequest |
+! filters/ping |
+{{ site_url|strip_proto }}/*^$ping |
+! filters/websocket |
+$websocket,domain={{ site_url|domain }} |
+! filters/webrtc |
+$webrtc,domain={{ site_url|domain }} |
+ |
+! exceptions/elemhide |
+{{ site_url|strip_proto }}##.testcase-ex-elemhide |
+||{{ site_url|strip_proto }}/testcasefiles/elemhide/image.jpg |
+@@{{ site_url|strip_proto }}/en/exceptions/elemhide^$elemhide |
+! exceptions/document |
+{{ site_url|strip_proto }}##.testcase-ex-document |
+||{{ site_url|strip_proto }}/testcasefiles/document/* |
+@@{{ site_url|strip_proto }}/en/exceptions/document^$document |
+! exceptions/popup |
+||{{ site_url|strip_proto }}/en/exceptions/popup^$popup |
+@@||{{ site_url|strip_proto }}/en/exceptions/popup^$popup |
+! exceptions/image |
+||{{ site_url|strip_proto }}/testcasefiles/imageexception/* |
+@@{{ site_url|strip_proto }}/testcasefiles/imageexception/$image |
+! exceptions/script |
+||{{ site_url|strip_proto }}/testcasefiles/scriptexception/* |
+@@{{ site_url|strip_proto }}/testcasefiles/scriptexception/$script |
+! exceptions/stylesheet |
+||{{ site_url|strip_proto }}/testcasefiles/stylesheetexception/* |
+@@{{ site_url|strip_proto }}/testcasefiles/stylesheetexception/$stylesheet |
+! exceptions/subdocument |
+||{{ site_url|strip_proto }}/testcasefiles/subdocumentexception/* |
+@@{{ site_url|strip_proto }}/testcasefiles/subdocumentexception/$subdocument |
+! exceptions/xmlhttprequest |
+||{{ site_url|strip_proto }}/testcasefiles/xmlhttprequestexception/* |
+@@{{ site_url|strip_proto }}/testcasefiles/xmlhttprequestexception/$xmlhttprequest |
+! exceptions/element-hiding |
+{{ site_url|strip_proto }}##.testcase-ehe |
+{{ site_url|strip_proto }}#@#.testcase-ehe |
+ |
+! Generic hide and generic block |
+@@{{ site_url|strip_proto }}/*/testcases/generic$generichide,genericblock |
+testcase-fail.png?specific$domain=www.{{ site_url|domain }} |
+www.{{ site_url|strip_proto }}###abp-testsuite-tohide-specific |
+~testcase-exception.adblockplus.org###abp-testsuite-tohide-exceptiononly |
+testcase-pass.png?exceptiononly$domain=~testcase-exception.adblockplus.org |
+ |
+! FIXME - Exception for the $sitekey served from /sitekey-frame |
+! @@$sitekey=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANGtTstne7e8MbmDHDiMFkGbcuBgXmiVesGOG3gtYeM1EkrzVhBjGUvKXYE4GLFwqty3v5MuWWbvItUWBTYoVVsCAwEAAQ |
+ |
+! Circumvention |
+{{ site_url|strip_proto }}##.testcase-circ-is |
+{{ site_url|strip_proto }}##.testcase-circ-anoniframe-docwrite |