58 return |
58 return |
59 |
59 |
60 elementHiding += "{display: none !important;}\n</style>" |
60 elementHiding += "{display: none !important;}\n</style>" |
61 |
61 |
62 bodyElement = docElement.findFirst("body") |
62 bodyElement = docElement.findFirst("body") |
63 bodyElement.appendInside('<style type="text/css">\n/* AdBlock for eric */\n' + |
63 bodyElement.appendInside( |
64 elementHiding) |
64 '<style type="text/css">\n/* AdBlock for eric */\n' + |
|
65 elementHiding) |
65 |
66 |
66 |
67 |
67 class AdBlockedPageEntry(object): |
68 class AdBlockedPageEntry(object): |
68 """ |
69 """ |
69 Class implementing a data structure for web page rules. |
70 Class implementing a data structure for web page rules. |