summaryrefslogtreecommitdiff
path: root/src/adblock/adblockmanager.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-03-31 10:54:02 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-03-31 10:54:02 +0200
commita6da0df7e0f72f1d7185e39815c17b7fab07d790 (patch)
tree36158efa98e29bcc0bc27d5128d2ecb44d36b45c /src/adblock/adblockmanager.cpp
parentThis patch solves some problems of clipped text (diff)
downloadrekonq-a6da0df7e0f72f1d7185e39815c17b7fab07d790.tar.xz
Auto Scrolling, first bunch.
key combinations just work :)
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;