Helpviewer/AdBlock/AdBlockPage.py

changeset 3000
971d84f7a6d6
parent 2403
e3d7a861547c
child 3001
3674ff5fa8f8
equal deleted inserted replaced
2999:28c75409a78f 3000:971d84f7a6d6
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.

eric ide

mercurial