Index: src/plugin/PluginTabBase.cpp |
=================================================================== |
--- a/src/plugin/PluginTabBase.cpp |
+++ b/src/plugin/PluginTabBase.cpp |
@@ -183,7 +183,8 @@ |
void CPluginTabBase::OnDownloadComplete(IWebBrowser2* browser) |
{ |
#ifdef SUPPORT_DOM_TRAVERSER |
- if (!CPluginClient::GetInstance()->IsWhitelistedUrl(std::wstring(GetDocumentUrl()))) |
+ CPluginClient* client = CPluginClient::GetInstance(); |
+ if (!client->IsWhitelistedUrl(std::wstring(GetDocumentUrl())) && !client->IsHidingWhitelistedOnDomain(std::wstring(GetDocumentUrl()))) |
Felix Dahlke
2014/08/08 16:41:45
std::wstring(GetDocumentUrl()) would like to be a
|
{ |
m_traverser->TraverseDocument(browser, GetDocumentDomain(), GetDocumentUrl()); |
} |