5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.WebBrowser.AdBlock.AdBlockSubscription</h1> |
9 <h1>eric7.WebBrowser.AdBlock.AdBlockSubscription</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the AdBlock subscription class. |
11 Module implementing the AdBlock subscription class. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#AdBlockSubscription">AdBlockSubscription</a></td> |
22 <td><a href="#AdBlockSubscription">AdBlockSubscription</a></td> |
25 <td>Class implementing the AdBlock subscription.</td> |
23 <td>Class implementing the AdBlock subscription.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="AdBlockSubscription" ID="AdBlockSubscription"></a> |
34 <a NAME="AdBlockSubscription" ID="AdBlockSubscription"></a> |
36 <h2>AdBlockSubscription</h2> |
35 <h2>AdBlockSubscription</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing the AdBlock subscription. |
37 Class implementing the AdBlock subscription. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Signals</h3> |
40 <h3>Signals</h3> |
42 <dl> |
41 <dl> |
43 |
42 |
44 <dt>changed()</dt> |
43 <dt>changed()</dt> |
45 <dd> |
44 <dd> |
60 </dd> |
59 </dd> |
61 </dl> |
60 </dl> |
62 <h3>Derived from</h3> |
61 <h3>Derived from</h3> |
63 QObject |
62 QObject |
64 <h3>Class Attributes</h3> |
63 <h3>Class Attributes</h3> |
65 |
|
66 <table> |
64 <table> |
67 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
68 </table> |
66 </table> |
|
67 |
69 <h3>Class Methods</h3> |
68 <h3>Class Methods</h3> |
70 |
|
71 <table> |
69 <table> |
72 <tr><td>None</td></tr> |
70 <tr><td>None</td></tr> |
73 </table> |
71 </table> |
|
72 |
74 <h3>Methods</h3> |
73 <h3>Methods</h3> |
75 |
|
76 <table> |
74 <table> |
77 |
|
78 <tr> |
75 <tr> |
79 <td><a href="#AdBlockSubscription.__init__">AdBlockSubscription</a></td> |
76 <td><a href="#AdBlockSubscription.__init__">AdBlockSubscription</a></td> |
80 <td>Constructor</td> |
77 <td>Constructor</td> |
81 </tr> |
78 </tr> |
82 <tr> |
79 <tr> |
178 <tr> |
175 <tr> |
179 <td><a href="#AdBlockSubscription.url">url</a></td> |
176 <td><a href="#AdBlockSubscription.url">url</a></td> |
180 <td>Public method to generate the URL for this subscription.</td> |
177 <td>Public method to generate the URL for this subscription.</td> |
181 </tr> |
178 </tr> |
182 </table> |
179 </table> |
|
180 |
183 <h3>Static Methods</h3> |
181 <h3>Static Methods</h3> |
184 |
|
185 <table> |
182 <table> |
186 <tr><td>None</td></tr> |
183 <tr><td>None</td></tr> |
187 </table> |
184 </table> |
188 |
185 |
|
186 |
189 <a NAME="AdBlockSubscription.__init__" ID="AdBlockSubscription.__init__"></a> |
187 <a NAME="AdBlockSubscription.__init__" ID="AdBlockSubscription.__init__"></a> |
190 <h4>AdBlockSubscription (Constructor)</h4> |
188 <h4>AdBlockSubscription (Constructor)</h4> |
191 <b>AdBlockSubscription</b>(<i>url, custom, parent=None, default=False</i>) |
189 <b>AdBlockSubscription</b>(<i>url, custom, parent=None, default=False</i>) |
192 |
|
193 <p> |
190 <p> |
194 Constructor |
191 Constructor |
195 </p> |
192 </p> |
|
193 |
196 <dl> |
194 <dl> |
197 |
195 |
198 <dt><i>url</i> (QUrl)</dt> |
196 <dt><i>url</i> (QUrl)</dt> |
199 <dd> |
197 <dd> |
200 AdBlock URL for the subscription |
198 AdBlock URL for the subscription |
213 </dd> |
211 </dd> |
214 </dl> |
212 </dl> |
215 <a NAME="AdBlockSubscription.__loadRules" ID="AdBlockSubscription.__loadRules"></a> |
213 <a NAME="AdBlockSubscription.__loadRules" ID="AdBlockSubscription.__loadRules"></a> |
216 <h4>AdBlockSubscription.__loadRules</h4> |
214 <h4>AdBlockSubscription.__loadRules</h4> |
217 <b>__loadRules</b>(<i></i>) |
215 <b>__loadRules</b>(<i></i>) |
218 |
|
219 <p> |
216 <p> |
220 Private method to load the rules of the subscription. |
217 Private method to load the rules of the subscription. |
221 </p> |
218 </p> |
|
219 |
222 <a NAME="AdBlockSubscription.__parseUrl" ID="AdBlockSubscription.__parseUrl"></a> |
220 <a NAME="AdBlockSubscription.__parseUrl" ID="AdBlockSubscription.__parseUrl"></a> |
223 <h4>AdBlockSubscription.__parseUrl</h4> |
221 <h4>AdBlockSubscription.__parseUrl</h4> |
224 <b>__parseUrl</b>(<i>url</i>) |
222 <b>__parseUrl</b>(<i>url</i>) |
225 |
|
226 <p> |
223 <p> |
227 Private method to parse the AdBlock URL for the subscription. |
224 Private method to parse the AdBlock URL for the subscription. |
228 </p> |
225 </p> |
|
226 |
229 <dl> |
227 <dl> |
230 |
228 |
231 <dt><i>url</i> (QUrl)</dt> |
229 <dt><i>url</i> (QUrl)</dt> |
232 <dd> |
230 <dd> |
233 AdBlock URL for the subscription |
231 AdBlock URL for the subscription |
234 </dd> |
232 </dd> |
235 </dl> |
233 </dl> |
236 <a NAME="AdBlockSubscription.__rulesDownloaded" ID="AdBlockSubscription.__rulesDownloaded"></a> |
234 <a NAME="AdBlockSubscription.__rulesDownloaded" ID="AdBlockSubscription.__rulesDownloaded"></a> |
237 <h4>AdBlockSubscription.__rulesDownloaded</h4> |
235 <h4>AdBlockSubscription.__rulesDownloaded</h4> |
238 <b>__rulesDownloaded</b>(<i>reply</i>) |
236 <b>__rulesDownloaded</b>(<i>reply</i>) |
239 |
|
240 <p> |
237 <p> |
241 Private slot to deal with the downloaded rules. |
238 Private slot to deal with the downloaded rules. |
242 </p> |
239 </p> |
|
240 |
243 <dl> |
241 <dl> |
244 |
242 |
245 <dt><i>reply</i> (QNetworkReply)</dt> |
243 <dt><i>reply</i> (QNetworkReply)</dt> |
246 <dd> |
244 <dd> |
247 reference to the network reply |
245 reference to the network reply |
248 </dd> |
246 </dd> |
249 </dl> |
247 </dl> |
250 <a NAME="AdBlockSubscription.__validateCheckSum" ID="AdBlockSubscription.__validateCheckSum"></a> |
248 <a NAME="AdBlockSubscription.__validateCheckSum" ID="AdBlockSubscription.__validateCheckSum"></a> |
251 <h4>AdBlockSubscription.__validateCheckSum</h4> |
249 <h4>AdBlockSubscription.__validateCheckSum</h4> |
252 <b>__validateCheckSum</b>(<i>fileName</i>) |
250 <b>__validateCheckSum</b>(<i>fileName</i>) |
253 |
|
254 <p> |
251 <p> |
255 Private method to check the subscription file's checksum. |
252 Private method to check the subscription file's checksum. |
256 </p> |
253 </p> |
|
254 |
257 <dl> |
255 <dl> |
258 |
256 |
259 <dt><i>fileName</i> (str)</dt> |
257 <dt><i>fileName</i> (str)</dt> |
260 <dd> |
258 <dd> |
261 name of the file containing the subscription |
259 name of the file containing the subscription |
277 </dd> |
275 </dd> |
278 </dl> |
276 </dl> |
279 <a NAME="AdBlockSubscription.addRule" ID="AdBlockSubscription.addRule"></a> |
277 <a NAME="AdBlockSubscription.addRule" ID="AdBlockSubscription.addRule"></a> |
280 <h4>AdBlockSubscription.addRule</h4> |
278 <h4>AdBlockSubscription.addRule</h4> |
281 <b>addRule</b>(<i>rule</i>) |
279 <b>addRule</b>(<i>rule</i>) |
282 |
|
283 <p> |
280 <p> |
284 Public method to add a rule. |
281 Public method to add a rule. |
285 </p> |
282 </p> |
|
283 |
286 <dl> |
284 <dl> |
287 |
285 |
288 <dt><i>rule</i> (AdBlockRule)</dt> |
286 <dt><i>rule</i> (AdBlockRule)</dt> |
289 <dd> |
287 <dd> |
290 reference to the rule to add |
288 reference to the rule to add |
322 </dd> |
320 </dd> |
323 </dl> |
321 </dl> |
324 <a NAME="AdBlockSubscription.canBeRemoved" ID="AdBlockSubscription.canBeRemoved"></a> |
322 <a NAME="AdBlockSubscription.canBeRemoved" ID="AdBlockSubscription.canBeRemoved"></a> |
325 <h4>AdBlockSubscription.canBeRemoved</h4> |
323 <h4>AdBlockSubscription.canBeRemoved</h4> |
326 <b>canBeRemoved</b>(<i></i>) |
324 <b>canBeRemoved</b>(<i></i>) |
327 |
|
328 <p> |
325 <p> |
329 Public method to check, if the subscription can be removed. |
326 Public method to check, if the subscription can be removed. |
330 </p> |
327 </p> |
|
328 |
331 <dl> |
329 <dl> |
332 <dt>Return:</dt> |
330 <dt>Return:</dt> |
333 <dd> |
331 <dd> |
334 flag indicating removal is allowed |
332 flag indicating removal is allowed |
335 </dd> |
333 </dd> |
341 </dd> |
339 </dd> |
342 </dl> |
340 </dl> |
343 <a NAME="AdBlockSubscription.canEditRules" ID="AdBlockSubscription.canEditRules"></a> |
341 <a NAME="AdBlockSubscription.canEditRules" ID="AdBlockSubscription.canEditRules"></a> |
344 <h4>AdBlockSubscription.canEditRules</h4> |
342 <h4>AdBlockSubscription.canEditRules</h4> |
345 <b>canEditRules</b>(<i></i>) |
343 <b>canEditRules</b>(<i></i>) |
346 |
|
347 <p> |
344 <p> |
348 Public method to check, if rules can be edited. |
345 Public method to check, if rules can be edited. |
349 </p> |
346 </p> |
|
347 |
350 <dl> |
348 <dl> |
351 <dt>Return:</dt> |
349 <dt>Return:</dt> |
352 <dd> |
350 <dd> |
353 flag indicating rules may be edited |
351 flag indicating rules may be edited |
354 </dd> |
352 </dd> |
360 </dd> |
358 </dd> |
361 </dl> |
359 </dl> |
362 <a NAME="AdBlockSubscription.checkForUpdate" ID="AdBlockSubscription.checkForUpdate"></a> |
360 <a NAME="AdBlockSubscription.checkForUpdate" ID="AdBlockSubscription.checkForUpdate"></a> |
363 <h4>AdBlockSubscription.checkForUpdate</h4> |
361 <h4>AdBlockSubscription.checkForUpdate</h4> |
364 <b>checkForUpdate</b>(<i></i>) |
362 <b>checkForUpdate</b>(<i></i>) |
365 |
|
366 <p> |
363 <p> |
367 Public method to check for an update. |
364 Public method to check for an update. |
368 </p> |
365 </p> |
|
366 |
369 <a NAME="AdBlockSubscription.isEnabled" ID="AdBlockSubscription.isEnabled"></a> |
367 <a NAME="AdBlockSubscription.isEnabled" ID="AdBlockSubscription.isEnabled"></a> |
370 <h4>AdBlockSubscription.isEnabled</h4> |
368 <h4>AdBlockSubscription.isEnabled</h4> |
371 <b>isEnabled</b>(<i></i>) |
369 <b>isEnabled</b>(<i></i>) |
372 |
|
373 <p> |
370 <p> |
374 Public method to check, if the subscription is enabled. |
371 Public method to check, if the subscription is enabled. |
375 </p> |
372 </p> |
|
373 |
376 <dl> |
374 <dl> |
377 <dt>Return:</dt> |
375 <dt>Return:</dt> |
378 <dd> |
376 <dd> |
379 flag indicating the enabled status |
377 flag indicating the enabled status |
380 </dd> |
378 </dd> |
386 </dd> |
384 </dd> |
387 </dl> |
385 </dl> |
388 <a NAME="AdBlockSubscription.lastUpdate" ID="AdBlockSubscription.lastUpdate"></a> |
386 <a NAME="AdBlockSubscription.lastUpdate" ID="AdBlockSubscription.lastUpdate"></a> |
389 <h4>AdBlockSubscription.lastUpdate</h4> |
387 <h4>AdBlockSubscription.lastUpdate</h4> |
390 <b>lastUpdate</b>(<i></i>) |
388 <b>lastUpdate</b>(<i></i>) |
391 |
|
392 <p> |
389 <p> |
393 Public method to get the date and time of the last update. |
390 Public method to get the date and time of the last update. |
394 </p> |
391 </p> |
|
392 |
395 <dl> |
393 <dl> |
396 <dt>Return:</dt> |
394 <dt>Return:</dt> |
397 <dd> |
395 <dd> |
398 date and time of the last update |
396 date and time of the last update |
399 </dd> |
397 </dd> |
405 </dd> |
403 </dd> |
406 </dl> |
404 </dl> |
407 <a NAME="AdBlockSubscription.location" ID="AdBlockSubscription.location"></a> |
405 <a NAME="AdBlockSubscription.location" ID="AdBlockSubscription.location"></a> |
408 <h4>AdBlockSubscription.location</h4> |
406 <h4>AdBlockSubscription.location</h4> |
409 <b>location</b>(<i></i>) |
407 <b>location</b>(<i></i>) |
410 |
|
411 <p> |
408 <p> |
412 Public method to get the subscription location. |
409 Public method to get the subscription location. |
413 </p> |
410 </p> |
|
411 |
414 <dl> |
412 <dl> |
415 <dt>Return:</dt> |
413 <dt>Return:</dt> |
416 <dd> |
414 <dd> |
417 URL of the subscription location |
415 URL of the subscription location |
418 </dd> |
416 </dd> |
424 </dd> |
422 </dd> |
425 </dl> |
423 </dl> |
426 <a NAME="AdBlockSubscription.removeRule" ID="AdBlockSubscription.removeRule"></a> |
424 <a NAME="AdBlockSubscription.removeRule" ID="AdBlockSubscription.removeRule"></a> |
427 <h4>AdBlockSubscription.removeRule</h4> |
425 <h4>AdBlockSubscription.removeRule</h4> |
428 <b>removeRule</b>(<i>offset</i>) |
426 <b>removeRule</b>(<i>offset</i>) |
429 |
|
430 <p> |
427 <p> |
431 Public method to remove a rule given the offset. |
428 Public method to remove a rule given the offset. |
432 </p> |
429 </p> |
|
430 |
433 <dl> |
431 <dl> |
434 |
432 |
435 <dt><i>offset</i> (int)</dt> |
433 <dt><i>offset</i> (int)</dt> |
436 <dd> |
434 <dd> |
437 offset of the rule to remove |
435 offset of the rule to remove |
438 </dd> |
436 </dd> |
439 </dl> |
437 </dl> |
440 <a NAME="AdBlockSubscription.replaceRule" ID="AdBlockSubscription.replaceRule"></a> |
438 <a NAME="AdBlockSubscription.replaceRule" ID="AdBlockSubscription.replaceRule"></a> |
441 <h4>AdBlockSubscription.replaceRule</h4> |
439 <h4>AdBlockSubscription.replaceRule</h4> |
442 <b>replaceRule</b>(<i>rule, offset</i>) |
440 <b>replaceRule</b>(<i>rule, offset</i>) |
443 |
|
444 <p> |
441 <p> |
445 Public method to replace a rule given the offset. |
442 Public method to replace a rule given the offset. |
446 </p> |
443 </p> |
|
444 |
447 <dl> |
445 <dl> |
448 |
446 |
449 <dt><i>rule</i> (AdBlockRule)</dt> |
447 <dt><i>rule</i> (AdBlockRule)</dt> |
450 <dd> |
448 <dd> |
451 reference to the rule to set |
449 reference to the rule to set |
468 </dd> |
466 </dd> |
469 </dl> |
467 </dl> |
470 <a NAME="AdBlockSubscription.requiresLocation" ID="AdBlockSubscription.requiresLocation"></a> |
468 <a NAME="AdBlockSubscription.requiresLocation" ID="AdBlockSubscription.requiresLocation"></a> |
471 <h4>AdBlockSubscription.requiresLocation</h4> |
469 <h4>AdBlockSubscription.requiresLocation</h4> |
472 <b>requiresLocation</b>(<i></i>) |
470 <b>requiresLocation</b>(<i></i>) |
473 |
|
474 <p> |
471 <p> |
475 Public method to get the location of a required subscription. |
472 Public method to get the location of a required subscription. |
476 </p> |
473 </p> |
|
474 |
477 <dl> |
475 <dl> |
478 <dt>Return:</dt> |
476 <dt>Return:</dt> |
479 <dd> |
477 <dd> |
480 location of a required subscription |
478 location of a required subscription |
481 </dd> |
479 </dd> |
487 </dd> |
485 </dd> |
488 </dl> |
486 </dl> |
489 <a NAME="AdBlockSubscription.rule" ID="AdBlockSubscription.rule"></a> |
487 <a NAME="AdBlockSubscription.rule" ID="AdBlockSubscription.rule"></a> |
490 <h4>AdBlockSubscription.rule</h4> |
488 <h4>AdBlockSubscription.rule</h4> |
491 <b>rule</b>(<i>offset</i>) |
489 <b>rule</b>(<i>offset</i>) |
492 |
|
493 <p> |
490 <p> |
494 Public method to get a specific rule. |
491 Public method to get a specific rule. |
495 </p> |
492 </p> |
|
493 |
496 <dl> |
494 <dl> |
497 |
495 |
498 <dt><i>offset</i> (int)</dt> |
496 <dt><i>offset</i> (int)</dt> |
499 <dd> |
497 <dd> |
500 offset of the rule |
498 offset of the rule |
513 </dd> |
511 </dd> |
514 </dl> |
512 </dl> |
515 <a NAME="AdBlockSubscription.rulesFileName" ID="AdBlockSubscription.rulesFileName"></a> |
513 <a NAME="AdBlockSubscription.rulesFileName" ID="AdBlockSubscription.rulesFileName"></a> |
516 <h4>AdBlockSubscription.rulesFileName</h4> |
514 <h4>AdBlockSubscription.rulesFileName</h4> |
517 <b>rulesFileName</b>(<i></i>) |
515 <b>rulesFileName</b>(<i></i>) |
518 |
|
519 <p> |
516 <p> |
520 Public method to get the name of the rules file. |
517 Public method to get the name of the rules file. |
521 </p> |
518 </p> |
|
519 |
522 <dl> |
520 <dl> |
523 <dt>Return:</dt> |
521 <dt>Return:</dt> |
524 <dd> |
522 <dd> |
525 name of the rules file |
523 name of the rules file |
526 </dd> |
524 </dd> |
532 </dd> |
530 </dd> |
533 </dl> |
531 </dl> |
534 <a NAME="AdBlockSubscription.saveRules" ID="AdBlockSubscription.saveRules"></a> |
532 <a NAME="AdBlockSubscription.saveRules" ID="AdBlockSubscription.saveRules"></a> |
535 <h4>AdBlockSubscription.saveRules</h4> |
533 <h4>AdBlockSubscription.saveRules</h4> |
536 <b>saveRules</b>(<i></i>) |
534 <b>saveRules</b>(<i></i>) |
537 |
|
538 <p> |
535 <p> |
539 Public method to save the subscription rules. |
536 Public method to save the subscription rules. |
540 </p> |
537 </p> |
|
538 |
541 <a NAME="AdBlockSubscription.setEnabled" ID="AdBlockSubscription.setEnabled"></a> |
539 <a NAME="AdBlockSubscription.setEnabled" ID="AdBlockSubscription.setEnabled"></a> |
542 <h4>AdBlockSubscription.setEnabled</h4> |
540 <h4>AdBlockSubscription.setEnabled</h4> |
543 <b>setEnabled</b>(<i>enabled</i>) |
541 <b>setEnabled</b>(<i>enabled</i>) |
544 |
|
545 <p> |
542 <p> |
546 Public method to set the enabled status. |
543 Public method to set the enabled status. |
547 </p> |
544 </p> |
|
545 |
548 <dl> |
546 <dl> |
549 |
547 |
550 <dt><i>enabled</i> (bool)</dt> |
548 <dt><i>enabled</i> (bool)</dt> |
551 <dd> |
549 <dd> |
552 flag indicating the enabled status |
550 flag indicating the enabled status |
553 </dd> |
551 </dd> |
554 </dl> |
552 </dl> |
555 <a NAME="AdBlockSubscription.setLocation" ID="AdBlockSubscription.setLocation"></a> |
553 <a NAME="AdBlockSubscription.setLocation" ID="AdBlockSubscription.setLocation"></a> |
556 <h4>AdBlockSubscription.setLocation</h4> |
554 <h4>AdBlockSubscription.setLocation</h4> |
557 <b>setLocation</b>(<i>url</i>) |
555 <b>setLocation</b>(<i>url</i>) |
558 |
|
559 <p> |
556 <p> |
560 Public method to set the subscription location. |
557 Public method to set the subscription location. |
561 </p> |
558 </p> |
|
559 |
562 <dl> |
560 <dl> |
563 |
561 |
564 <dt><i>url</i> (QUrl)</dt> |
562 <dt><i>url</i> (QUrl)</dt> |
565 <dd> |
563 <dd> |
566 URL of the subscription location |
564 URL of the subscription location |
567 </dd> |
565 </dd> |
568 </dl> |
566 </dl> |
569 <a NAME="AdBlockSubscription.setRuleEnabled" ID="AdBlockSubscription.setRuleEnabled"></a> |
567 <a NAME="AdBlockSubscription.setRuleEnabled" ID="AdBlockSubscription.setRuleEnabled"></a> |
570 <h4>AdBlockSubscription.setRuleEnabled</h4> |
568 <h4>AdBlockSubscription.setRuleEnabled</h4> |
571 <b>setRuleEnabled</b>(<i>offset, enabled</i>) |
569 <b>setRuleEnabled</b>(<i>offset, enabled</i>) |
572 |
|
573 <p> |
570 <p> |
574 Public method to enable a specific rule. |
571 Public method to enable a specific rule. |
575 </p> |
572 </p> |
|
573 |
576 <dl> |
574 <dl> |
577 |
575 |
578 <dt><i>offset</i> (int)</dt> |
576 <dt><i>offset</i> (int)</dt> |
579 <dd> |
577 <dd> |
580 offset of the rule |
578 offset of the rule |
597 </dd> |
595 </dd> |
598 </dl> |
596 </dl> |
599 <a NAME="AdBlockSubscription.setTitle" ID="AdBlockSubscription.setTitle"></a> |
597 <a NAME="AdBlockSubscription.setTitle" ID="AdBlockSubscription.setTitle"></a> |
600 <h4>AdBlockSubscription.setTitle</h4> |
598 <h4>AdBlockSubscription.setTitle</h4> |
601 <b>setTitle</b>(<i>title</i>) |
599 <b>setTitle</b>(<i>title</i>) |
602 |
|
603 <p> |
600 <p> |
604 Public method to set the subscription title. |
601 Public method to set the subscription title. |
605 </p> |
602 </p> |
|
603 |
606 <dl> |
604 <dl> |
607 |
605 |
608 <dt><i>title</i> (str)</dt> |
606 <dt><i>title</i> (str)</dt> |
609 <dd> |
607 <dd> |
610 subscription title |
608 subscription title |
611 </dd> |
609 </dd> |
612 </dl> |
610 </dl> |
613 <a NAME="AdBlockSubscription.title" ID="AdBlockSubscription.title"></a> |
611 <a NAME="AdBlockSubscription.title" ID="AdBlockSubscription.title"></a> |
614 <h4>AdBlockSubscription.title</h4> |
612 <h4>AdBlockSubscription.title</h4> |
615 <b>title</b>(<i></i>) |
613 <b>title</b>(<i></i>) |
616 |
|
617 <p> |
614 <p> |
618 Public method to get the subscription title. |
615 Public method to get the subscription title. |
619 </p> |
616 </p> |
|
617 |
620 <dl> |
618 <dl> |
621 <dt>Return:</dt> |
619 <dt>Return:</dt> |
622 <dd> |
620 <dd> |
623 subscription title |
621 subscription title |
624 </dd> |
622 </dd> |
630 </dd> |
628 </dd> |
631 </dl> |
629 </dl> |
632 <a NAME="AdBlockSubscription.updateNow" ID="AdBlockSubscription.updateNow"></a> |
630 <a NAME="AdBlockSubscription.updateNow" ID="AdBlockSubscription.updateNow"></a> |
633 <h4>AdBlockSubscription.updateNow</h4> |
631 <h4>AdBlockSubscription.updateNow</h4> |
634 <b>updateNow</b>(<i></i>) |
632 <b>updateNow</b>(<i></i>) |
635 |
|
636 <p> |
633 <p> |
637 Public method to update the subscription immediately. |
634 Public method to update the subscription immediately. |
638 </p> |
635 </p> |
|
636 |
639 <a NAME="AdBlockSubscription.url" ID="AdBlockSubscription.url"></a> |
637 <a NAME="AdBlockSubscription.url" ID="AdBlockSubscription.url"></a> |
640 <h4>AdBlockSubscription.url</h4> |
638 <h4>AdBlockSubscription.url</h4> |
641 <b>url</b>(<i></i>) |
639 <b>url</b>(<i></i>) |
642 |
|
643 <p> |
640 <p> |
644 Public method to generate the URL for this subscription. |
641 Public method to generate the URL for this subscription. |
645 </p> |
642 </p> |
|
643 |
646 <dl> |
644 <dl> |
647 <dt>Return:</dt> |
645 <dt>Return:</dt> |
648 <dd> |
646 <dd> |
649 AdBlock URL for the subscription |
647 AdBlock URL for the subscription |
650 </dd> |
648 </dd> |