summaryrefslogtreecommitdiff
path: root/src/adblock/adblockmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/adblock/adblockmanager.cpp')
-rw-r--r--src/adblock/adblockmanager.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/adblock/adblockmanager.cpp b/src/adblock/adblockmanager.cpp
index feb92864..0a139bdc 100644
--- a/src/adblock/adblockmanager.cpp
+++ b/src/adblock/adblockmanager.cpp
@@ -211,21 +211,6 @@ void AdBlockManager::applyHidingRules(WebPage *page)
if (!_isAdblockEnabled)
return;
-// // BLACK RULES
-// foreach(const AdBlockRule &filter, _blackList)
-// {
-// QWebElementCollection elements = document.findAll("*");
-// foreach (QWebElement el, elements)
-// {
-// if(filter.match( el.attribute("src") ) )
-// {
-// kDebug() << "MATCHES!!!!!";
-// el.setStyleProperty(QLatin1String("visibility"), QLatin1String("hidden"));
-// el.removeFromDocument();
-// }
-// }
-// }
-
if (!_isHideAdsEnabled)
return;