From 31d51ef77c0b2698bed39114d4aaa541aaa04ee1 Mon Sep 17 00:00:00 2001 From: ispedals Date: Sun, 19 Jun 2016 12:46:39 -0400 Subject: [PATCH] Request permission to access localhost Permission is required to do XHR request to the domain. Otherwise Gecko attempts to use CORS to negotiate the request, which AnkiConnect does not expect. --- ext/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/manifest.json b/ext/manifest.json index d9367946ac..70ce4a9a9c 100644 --- a/ext/manifest.json +++ b/ext/manifest.json @@ -18,7 +18,7 @@ "options_ui": { "page": "bg/options.html" }, - "permissions": ["storage"], + "permissions": ["*://127.0.0.1/*", "storage"], "web_accessible_resources": [ "fg/css/frame.css", "fg/img/add_kanji.png",