From a6da0df7e0f72f1d7185e39815c17b7fab07d790 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 31 Mar 2010 10:54:02 +0200 Subject: Auto Scrolling, first bunch. key combinations just work :) --- src/adblock/adblockmanager.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/adblock') 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; -- cgit v1.2.1