diff options
| author | Phil Crosby | 2013-05-07 09:37:53 -0700 |
|---|---|---|
| committer | Phil Crosby | 2013-05-07 09:37:53 -0700 |
| commit | 31f50f199106419de04c48190f82063d3d8c329f (patch) | |
| tree | e96e99536bc42d0a7a11bd1e5dd55643e8f5c701 | |
| parent | 769be5db69f3e255a7c29d2c65ce293382a6a19e (diff) | |
| parent | cb105bc799f112e1b36930d7add73a343c3b4a99 (diff) | |
| download | vimium-31f50f199106419de04c48190f82063d3d8c329f.tar.bz2 | |
Merge pull request #816 from UncleBill/master
Fix issue #772
| -rw-r--r-- | CREDITS | 1 | ||||
| -rw-r--r-- | background_scripts/main.coffee | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -39,5 +39,6 @@ Contributors: Wang Ning <daning106@gmail.com> (github:daning) Werner Laurensse (github: ab3) Timo Sand <timo.j.sand@gmail.com> (github: deiga) + Shiyong Chen <billbill290@gmail.com> (github: UncleBill) Feel free to add real names in addition to GitHub usernames. diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 6d696b49..54bf2882 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -84,6 +84,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) |
