Index: src/engine/Main.cpp |
=================================================================== |
--- a/src/engine/Main.cpp |
+++ b/src/engine/Main.cpp |
@@ -196,6 +196,14 @@ |
response << (match && match->GetType() == AdblockPlus::Filter::TYPE_EXCEPTION); |
break; |
} |
+ case Communication::PROC_IS_ELEMHIDE_WHITELISTED_ON_URL: |
+ { |
+ std::string documentUrl; |
Felix Dahlke
2014/08/08 16:41:45
Would make more sense to rename this to "url" IMO,
|
+ request >> documentUrl; |
+ AdblockPlus::FilterPtr match = filterEngine->Matches(documentUrl, "ELEMHIDE", documentUrl); |
+ response << (match && match->GetType() == AdblockPlus::Filter::TYPE_EXCEPTION); |
+ break; |
+ } |
case Communication::PROC_ADD_FILTER: |
{ |
std::string text; |