diff --git a/content_scripts/fairlang.js b/content_scripts/fairlang.js index e68f05b..573df6c 100644 --- a/content_scripts/fairlang.js +++ b/content_scripts/fairlang.js @@ -6,13 +6,6 @@ function checkTextarea(textarea) { console.log("click " + textarea.id + " -> " + textarea.value); // TODO make queries to the fairlanguage server - - fetch("https://fairlanguage2.dev-star.de/checkDocument?data=liebe+Bürger&json") - .then(response => response.json()) - .then(response => { - console.log(response); - }) - .catch(error => console.log(error)); } (function() { diff --git a/manifest.json b/manifest.json index 1ed8a57..b3e39c9 100644 --- a/manifest.json +++ b/manifest.json @@ -12,8 +12,7 @@ }, "permissions": [ - "activeTab", - "https://fairlanguage2.dev-star.de/*" + "activeTab" ], "browser_action": { diff --git a/popup/buttonmenu.html b/popup/buttonmenu.html index 4ba6339..c5808b9 100644 --- a/popup/buttonmenu.html +++ b/popup/buttonmenu.html @@ -1,8 +1,7 @@
- -