eric6.Helpviewer.AdBlock.AdBlockPage
Module implementing a class to apply AdBlock rules to a web page.
Global Attributes
Classes
Functions
AdBlockPage
    Class to apply AdBlock rules to a web page.
Derived from
QObject
Class Attributes
Class Methods
Methods
Static Methods
AdBlockPage.hideBlockedPageEntries
hideBlockedPageEntries(page)
        Public method to apply AdBlock rules to a web page.
- page
- 
reference to the web page (HelpWebPage)
AdBlockedPageEntry
    Class implementing a data structure for web page rules.
Derived from
object
Class Attributes
Class Methods
Methods
Static Methods
AdBlockedPageEntry (Constructor)
AdBlockedPageEntry(rule, url)
        Constructor
- rule
- 
AdBlock rule to add (AdBlockRule)
- url
- 
URL that matched the rule (QUrl)
AdBlockedPageEntry.__eq__
__eq__(other)
        Special method to test equality.
- other
- 
reference to the other entry (AdBlockedPageEntry)
- Returns:
- 
flag indicating equality (boolean)
AdBlockedPageEntry.urlString
urlString()
        Public method to get the URL as a string.
- Returns:
- 
URL as a string (string)