Index: src/plugin/PluginTabBase.cpp |
=================================================================== |
--- a/src/plugin/PluginTabBase.cpp |
+++ b/src/plugin/PluginTabBase.cpp |
@@ -62,6 +62,12 @@ |
} |
} |
+bool CPluginTabBase::CanDisableOnSite() |
+{ |
+ auto url = GetDocumentUrl(); |
+ return BeginsWith(url, L"http:") || BeginsWith(url, L"https:"); |
+} |
+ |
void CPluginTabBase::OnActivate() |
{ |
m_isActivated = true; |