Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockSubscription.html

changeset 1994
84d55b34ba5a
parent 1971
a68d78702c98
child 2367
78f6c8193d37
equal deleted inserted replaced
1993:5038ab5ff88f 1994:84d55b34ba5a
83 <td>Private method to populate the various rule caches.</td> 83 <td>Private method to populate the various rule caches.</td>
84 </tr><tr> 84 </tr><tr>
85 <td><a href="#AdBlockSubscription.__rulesDownloaded">__rulesDownloaded</a></td> 85 <td><a href="#AdBlockSubscription.__rulesDownloaded">__rulesDownloaded</a></td>
86 <td>Private slot to deal with the downloaded rules.</td> 86 <td>Private slot to deal with the downloaded rules.</td>
87 </tr><tr> 87 </tr><tr>
88 <td><a href="#AdBlockSubscription.__validateCheckSum">__validateCheckSum</a></td>
89 <td>Private method to check the subscription file's checksum.</td>
90 </tr><tr>
88 <td><a href="#AdBlockSubscription.adBlockDisabledForUrl">adBlockDisabledForUrl</a></td> 91 <td><a href="#AdBlockSubscription.adBlockDisabledForUrl">adBlockDisabledForUrl</a></td>
89 <td>Public method to check, if AdBlock is disabled for the given URL.</td> 92 <td>Public method to check, if AdBlock is disabled for the given URL.</td>
90 </tr><tr> 93 </tr><tr>
91 <td><a href="#AdBlockSubscription.addRule">addRule</a></td> 94 <td><a href="#AdBlockSubscription.addRule">addRule</a></td>
92 <td>Public method to add a rule.</td> 95 <td>Public method to add a rule.</td>
210 </p><a NAME="AdBlockSubscription.__rulesDownloaded" ID="AdBlockSubscription.__rulesDownloaded"></a> 213 </p><a NAME="AdBlockSubscription.__rulesDownloaded" ID="AdBlockSubscription.__rulesDownloaded"></a>
211 <h4>AdBlockSubscription.__rulesDownloaded</h4> 214 <h4>AdBlockSubscription.__rulesDownloaded</h4>
212 <b>__rulesDownloaded</b>(<i></i>) 215 <b>__rulesDownloaded</b>(<i></i>)
213 <p> 216 <p>
214 Private slot to deal with the downloaded rules. 217 Private slot to deal with the downloaded rules.
215 </p><a NAME="AdBlockSubscription.adBlockDisabledForUrl" ID="AdBlockSubscription.adBlockDisabledForUrl"></a> 218 </p><a NAME="AdBlockSubscription.__validateCheckSum" ID="AdBlockSubscription.__validateCheckSum"></a>
219 <h4>AdBlockSubscription.__validateCheckSum</h4>
220 <b>__validateCheckSum</b>(<i>fileName</i>)
221 <p>
222 Private method to check the subscription file's checksum.
223 </p><dl>
224 <dt><i>fileName</i></dt>
225 <dd>
226 name of the file containing the subscription (string)
227 </dd>
228 </dl><dl>
229 <dt>Returns:</dt>
230 <dd>
231 flag indicating a valid file (boolean). A file is considered
232 valid, if the checksum is OK or the file does not contain a
233 checksum (i.e. cannot be checked).
234 </dd>
235 </dl><a NAME="AdBlockSubscription.adBlockDisabledForUrl" ID="AdBlockSubscription.adBlockDisabledForUrl"></a>
216 <h4>AdBlockSubscription.adBlockDisabledForUrl</h4> 236 <h4>AdBlockSubscription.adBlockDisabledForUrl</h4>
217 <b>adBlockDisabledForUrl</b>(<i>url</i>) 237 <b>adBlockDisabledForUrl</b>(<i>url</i>)
218 <p> 238 <p>
219 Public method to check, if AdBlock is disabled for the given URL. 239 Public method to check, if AdBlock is disabled for the given URL.
220 </p><dl> 240 </p><dl>

eric ide

mercurial