Add Firefox support (#42)

This commit is contained in:
Maxim Baz
2019-03-16 02:41:16 +01:00
committed by GitHub
parent 7c2397bbfd
commit 1676b90187
8 changed files with 17 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ function Interface(settings, logins) {
this.settings = settings;
this.logins = logins;
this.results = [];
this.currentDomainOnly = !settings.tab.url.match(/^chrome:\/\//);
this.currentDomainOnly = !settings.tab.url.match(/^(chrome|about):/);
this.searchPart = new SearchInterface(this);
// initialise with empty search