From cb105bc799f112e1b36930d7add73a343c3b4a99 Mon Sep 17 00:00:00 2001 From: UncleBill Date: Mon, 15 Apr 2013 23:59:18 +0800 Subject: fix issue #772 --- background_scripts/main.coffee | 2 ++ 1 file changed, 2 insertions(+) (limited to 'background_scripts') diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index c750162e..14e08533 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -90,6 +90,8 @@ root.addExcludedUrl = (url) -> return unless url = url.trim() excludedUrls = Settings.get("excludedUrls") + return unless excludedUrls.indexOf(url) < 0 + excludedUrls += "\n" + url Settings.set("excludedUrls", excludedUrls) -- cgit v1.2.3