aboutsummaryrefslogtreecommitdiffstats
path: root/background_page.html
diff options
context:
space:
mode:
authorDaniel MacDougall2012-03-28 03:11:27 -0700
committerDaniel MacDougall2012-03-28 03:11:27 -0700
commit801a20fb28cbd13b057668d495cfe54c645c651b (patch)
treea7dbe73bc9beee0a207561e582718d1f21e1728f /background_page.html
parent2d92b45b28146e1ea46f87038827027ce1e00b51 (diff)
downloadvimium-801a20fb28cbd13b057668d495cfe54c645c651b.tar.bz2
Add ability to exclude URLs from browser button
Diffstat (limited to 'background_page.html')
-rw-r--r--background_page.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/background_page.html b/background_page.html
index 881024c3..b80f49b4 100644
--- a/background_page.html
+++ b/background_page.html
@@ -113,6 +113,12 @@
return { isEnabledForUrl: isEnabled };
}
+ function addExcludedUrl(url) {
+ var excludedUrls = settings.get("excludedUrls");
+ excludedUrls += "\n" + url;
+ settings.set("excludedUrls", excludedUrls);
+ }
+
function saveHelpDialogSettings(request) {
settings.set("helpDialog_showAdvancedCommands", request.showAdvancedCommands);
}