From a9863de95e201c8e814ad7d6dacedae98b13748a 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 d9367946..70ce4a9a 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",