OLD | NEW |
(Empty) | |
| 1 { |
| 2 "title": { |
| 3 "message": "IAdblockPlus" |
| 4 }, |
| 5 "property0name": { |
| 6 "message": "subscriptionCount" |
| 7 }, |
| 8 "property0type": { |
| 9 "message": "PRInt32" |
| 10 }, |
| 11 "property0modifier": { |
| 12 "message": "readonly" |
| 13 }, |
| 14 "property0description": { |
| 15 "message": "<p>Number of subscriptions in the list (including special subscr
iptions)</p>" |
| 16 }, |
| 17 "method0name": { |
| 18 "message": "getSubscription" |
| 19 }, |
| 20 "method0return_type": { |
| 21 "message": "IAdblockPlusSubscription" |
| 22 }, |
| 23 "method0return_description": { |
| 24 "message": "the requested subscription or <tt>null</tt> if no subscription w
ith the given identifier exists" |
| 25 }, |
| 26 "method0argument0name": { |
| 27 "message": "id" |
| 28 }, |
| 29 "method0argument0type": { |
| 30 "message": "AString" |
| 31 }, |
| 32 "method0argument0description": { |
| 33 "message": "subscription's identifier (this is subscription's URL for regula
r subscriptions)" |
| 34 }, |
| 35 "method0description": { |
| 36 "message": "<p>Retrieves a subscription by its identifier</p>" |
| 37 }, |
| 38 "method1name": { |
| 39 "message": "getSubscriptionAt" |
| 40 }, |
| 41 "method1return_type": { |
| 42 "message": "IAdblockPlusSubscription" |
| 43 }, |
| 44 "method1return_description": { |
| 45 "message": "the requested subscription or <tt>null</tt> if the index provide
d is invalid" |
| 46 }, |
| 47 "method1argument0name": { |
| 48 "message": "index" |
| 49 }, |
| 50 "method1argument0type": { |
| 51 "message": "PRInt32" |
| 52 }, |
| 53 "method1argument0description": { |
| 54 "message": "subscription's position in the list, zero-based" |
| 55 }, |
| 56 "method1description": { |
| 57 "message": "<p>Retrieves a subscription by its position in the list</p>" |
| 58 }, |
| 59 "method2name": { |
| 60 "message": "updateExternalSubscription" |
| 61 }, |
| 62 "method2return_type": { |
| 63 "message": "wstring" |
| 64 }, |
| 65 "method2return_description": { |
| 66 "message": "effective subscription identifier (might not be identical to the
id parameter)" |
| 67 }, |
| 68 "method2argument0name": { |
| 69 "message": "id" |
| 70 }, |
| 71 "method2argument0type": { |
| 72 "message": "AString" |
| 73 }, |
| 74 "method2argument0description": { |
| 75 "message": "subscription's identifier (for external subscriptions this can b
e any string)" |
| 76 }, |
| 77 "method2argument1name": { |
| 78 "message": "title" |
| 79 }, |
| 80 "method2argument1type": { |
| 81 "message": "AUTF8String" |
| 82 }, |
| 83 "method2argument1description": { |
| 84 "message": "subscription title to be used if a new subscription is created.
This parameter will be ignored if the subscription already exists." |
| 85 }, |
| 86 "method2argument2name": { |
| 87 "message": "patterns" |
| 88 }, |
| 89 "method2argument2type": { |
| 90 "message": "arrayof wstring" |
| 91 }, |
| 92 "method2argument2description": { |
| 93 "message": "list of filter patterns that the subscription should contain" |
| 94 }, |
| 95 "method2description": { |
| 96 "message": "<p>\nUpdates an external subscription (or creates it if no such
subscription\ncurrently exists). Such a subscription will not be updated by Adbl
ock Plus, instead\nthe extension calling this method is responsible for updating
it and removing once the\nsubscription is no longer required.\n</p>\n\n<p>\nAdb
lock Plus 1.3 and higher: External subscriptions will no longer be saved to disk
along\nwith other subscription, updateExternalSubscription() method needs to be
called each time\nthe browser starts up to restore the subscription. This is to
prevent keeping a stale\nexternal subscription in the list if the user uninstal
ls the extension managing it.\n</p>\n\n<p>\nAlso, before Adblock Plus 1.3 this m
ethod returned a boolean indicating whether\nthe subscription could be created.
Creating a subscription can no longer fail in\nAdblock Plus 1.3 and higher but i
ts identifier might be rewritten -- the new identifier\nwill be returned.\n</p>" |
| 97 }, |
| 98 "method3name": { |
| 99 "message": "removeExternalSubscription" |
| 100 }, |
| 101 "method3return_type": { |
| 102 "message": "boolean" |
| 103 }, |
| 104 "method3return_description": { |
| 105 "message": "<tt>true</tt> if the subscription has been successfully removed,
<tt>false</tt> if no such subscription exists or the subscription isn't managed
externally" |
| 106 }, |
| 107 "method3argument0name": { |
| 108 "message": "id" |
| 109 }, |
| 110 "method3argument0type": { |
| 111 "message": "AString" |
| 112 }, |
| 113 "method3argument0description": { |
| 114 "message": "subscription's identifier (for external subscriptions this can b
e any string)" |
| 115 }, |
| 116 "method3description": { |
| 117 "message": "<p>Removes an external subscription</p>" |
| 118 }, |
| 119 "method4name": { |
| 120 "message": "addPatterns" |
| 121 }, |
| 122 "method4return_type": { |
| 123 "message": "void" |
| 124 }, |
| 125 "method4argument0name": { |
| 126 "message": "patterns" |
| 127 }, |
| 128 "method4argument0type": { |
| 129 "message": "arrayof wstring" |
| 130 }, |
| 131 "method4argument0description": { |
| 132 "message": "list of filter patterns to be added" |
| 133 }, |
| 134 "method4version": { |
| 135 "message": "0.7.2.3" |
| 136 }, |
| 137 "method4description": { |
| 138 "message": "<p>Adds patterns to the list of user-defined filters</p>" |
| 139 }, |
| 140 "method5name": { |
| 141 "message": "removePatterns" |
| 142 }, |
| 143 "method5return_type": { |
| 144 "message": "void" |
| 145 }, |
| 146 "method5argument0name": { |
| 147 "message": "patterns" |
| 148 }, |
| 149 "method5argument0type": { |
| 150 "message": "arrayof wstring" |
| 151 }, |
| 152 "method5argument0description": { |
| 153 "message": "list of filter patterns to be removed" |
| 154 }, |
| 155 "method5version": { |
| 156 "message": "0.7.2.3" |
| 157 }, |
| 158 "method5description": { |
| 159 "message": "<p>Removes patterns from the list of user-defined filters</p>" |
| 160 }, |
| 161 "method6name": { |
| 162 "message": "getInstalledVersion" |
| 163 }, |
| 164 "method6return_type": { |
| 165 "message": "AString" |
| 166 }, |
| 167 "method6return_description": { |
| 168 "message": "Adblock Plus version, for example <tt>0.7.0.1</tt>" |
| 169 }, |
| 170 "method6description": { |
| 171 "message": "<p>Retrieves the version of the installed Adblock Plus extension
. Note that this is the version number as reported by the extension manager or I
nstallTrigger and it might be incorrect if the latter is used (in Mozilla Suite
or SeaMonkey).</p>" |
| 172 }, |
| 173 "s1": { |
| 174 "message": "This interface can be used from extensions that wish to integrat
e with Adblock Plus. It allows among other things getting some information from
Adblock Plus or adding \"special\" subscriptions that will be updated by another
extension." |
| 175 }, |
| 176 "general_notes": { |
| 177 "message": "General notes" |
| 178 }, |
| 179 "methods_and_properties": { |
| 180 "message": "Methods and properties" |
| 181 } |
| 182 } |
OLD | NEW |