Module implementing the AdBlock manager.
None |
AdBlockManager | Class implementing the AdBlock manager. |
None |
Class implementing the AdBlock manager.
None |
None |
AdBlockManager | Constructor |
__customSubscriptionLocation | Private method to generate the path for custom subscriptions. |
__customSubscriptionUrl | Private method to generate the URL for custom subscriptions. |
__loadSubscriptions | Private method to load the set of subscriptions. |
addException | Public method to add an exception. |
addSubscription | Public method to add an AdBlock subscription. |
close | Public method to close the open search engines manager. |
customRules | Public method to get a subscription for custom rules. |
elementHidingRules | Public method to get the element hiding rules. |
elementHidingRulesForDomain | Public method to get the element hiding rules for a domain. |
exceptions | Public method to get a list of excepted hosts. |
getRequiresSubscriptions | Public method to get a list of subscriptions, that require the given one. |
isEnabled | Public method to check, if blocking ads is enabled. |
isHostExcepted | Public slot to check, if a host is excepted. |
load | Public method to load the AdBlock subscriptions. |
loadRequiredSubscription | Public method to load a subscription required by another one. |
network | Public method to get a reference to the network block object. |
page | Public method to get a reference to the page block object. |
removeException | Public method to remove an exception. |
removeSubscription | Public method to remove an AdBlock subscription. |
save | Public method to save the AdBlock subscriptions. |
setEnabled | Public slot to set the enabled state. |
setExceptions | Public method to set the list of excepted hosts. |
showDialog | Public slot to show the AdBlock subscription management dialog. |
showExceptionsDialog | Public method to show the AdBlock Exceptions dialog. |
showRule | Public slot to show an AdBlock rule. |
subscription | Public method to get a subscription based on its location. |
subscriptions | Public method to get all subscriptions. |
updateAllSubscriptions | Public method to update all subscriptions. |
None |
Constructor
Private method to generate the path for custom subscriptions.
Private method to generate the URL for custom subscriptions.
Private method to load the set of subscriptions.
Public method to add an exception.
Public method to add an AdBlock subscription.
Public method to close the open search engines manager.
Public method to get a subscription for custom rules.
Public method to get the element hiding rules.
Public method to get the element hiding rules for a domain.
Public method to get a list of excepted hosts.
Public method to get a list of subscriptions, that require the given one.
Public method to check, if blocking ads is enabled.
Public slot to check, if a host is excepted.
Public method to load the AdBlock subscriptions.
Public method to load a subscription required by another one.
Public method to get a reference to the network block object.
Public method to get a reference to the page block object.
Public method to remove an exception.
Public method to remove an AdBlock subscription.
Public method to save the AdBlock subscriptions.
Public slot to set the enabled state.
Public method to set the list of excepted hosts.
Public slot to show the AdBlock subscription management dialog.
Public method to show the AdBlock Exceptions dialog.
Public slot to show an AdBlock rule.
Public method to get a subscription based on its location.
Public method to get all subscriptions.
Public method to update all subscriptions.