| Index: pages/IAdblockPlus.raw | 
| =================================================================== | 
| new file mode 100644 | 
| --- /dev/null | 
| +++ b/pages/IAdblockPlus.raw | 
| @@ -0,0 +1,27 @@ | 
| +template=interface | 
| + | 
| + | 
| +<style type="text/css"> | 
| +.propname, .methodname, .argumentname | 
| +{ | 
| +  font-weight: bold; | 
| +} | 
| +</style> | 
| + | 
| +<p> | 
| +  $s1$ | 
| +</p> | 
| + | 
| +<pre> | 
| +if ("@adblockplus.org/abp/public;1" in Components.classes) | 
| +{ | 
| +  var abpURL = Components.classes["@adblockplus.org/abp/public;1"] | 
| +                         .getService(Components.interfaces.nsIURI); | 
| +  var AdblockPlus = Components.utils.import(abpURL.spec, null).AdblockPlus; | 
| +  alert(AdblockPlus.subscriptionCount); | 
| +} | 
| +else | 
| +{ | 
| +  // Adblock Plus is not installed | 
| +} | 
| +</pre> | 
|  |