OLD | NEW |
(Empty) | |
| 1 template=interface |
| 2 |
| 3 |
| 4 <style type="text/css"> |
| 5 .propname, .methodname, .argumentname |
| 6 { |
| 7 font-weight: bold; |
| 8 } |
| 9 </style> |
| 10 |
| 11 <p> |
| 12 $s1$ |
| 13 </p> |
| 14 |
| 15 <pre> |
| 16 if ("@adblockplus.org/abp/public;1" in Components.classes) |
| 17 { |
| 18 var abpURL = Components.classes["@adblockplus.org/abp/public;1"] |
| 19 .getService(Components.interfaces.nsIURI); |
| 20 var AdblockPlus = Components.utils.import(abpURL.spec, null).AdblockPlus; |
| 21 alert(AdblockPlus.subscriptionCount); |
| 22 } |
| 23 else |
| 24 { |
| 25 // Adblock Plus is not installed |
| 26 } |
| 27 </pre> |
OLD | NEW |