diff --git a/src/ext/lib/Settings.ts b/src/ext/lib/Settings.ts index 31fba80..004eddc 100644 --- a/src/ext/lib/Settings.ts +++ b/src/ext/lib/Settings.ts @@ -380,6 +380,14 @@ class Settings { return this.active.actions; } + getSettingsForSite(site?) { + if (!site) { + site = window.location.hostname; + } + + return this.active.sites[site]; + } + getExtensionMode(site?: string) { if (!site) { site = window.location.hostname;