| Index: src/plugin/AdblockPlusClient.cpp |
| =================================================================== |
| --- a/src/plugin/AdblockPlusClient.cpp |
| +++ b/src/plugin/AdblockPlusClient.cpp |
| @@ -281,6 +281,20 @@ |
| return isWhitelisted; |
| } |
| +bool CAdblockPlusClient::IsHidingWhitelistedOnDomain(const std::wstring& domain) |
|
Felix Dahlke
2014/08/08 16:41:45
s/Hiding/Elemhide?
If you rename documentUrl in M
|
| +{ |
| + Communication::OutputBuffer request; |
| + request << Communication::PROC_IS_ELEMHIDE_WHITELISTED_ON_URL << ToUtf8String(domain); |
| + |
| + Communication::InputBuffer response; |
| + if (!CallEngine(request, response)) |
| + return false; |
| + |
| + bool isWhitelisted; |
| + response >> isWhitelisted; |
| + return isWhitelisted; |
| +} |
| + |
| int CAdblockPlusClient::GetIEVersion() |
| { |
| //HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer |