Compare commits

...

2 Commits

Author SHA1 Message Date
Lexi / Zoe 368381d5a6 Added charset meta tag 2018-10-17 00:35:38 +02:00
Lexi / Zoe d71331be75 Make query to fairlanguage server 2018-10-17 00:33:22 +02:00
3 changed files with 11 additions and 2 deletions

View File

@ -6,6 +6,13 @@ 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() {

View File

@ -12,7 +12,8 @@
},
"permissions": [
"activeTab"
"activeTab",
"https://fairlanguage2.dev-star.de/*"
],
"browser_action": {

View File

@ -1,7 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<title>Test action</title>
<meta charset="utf-8">
<title>Fairlanguage</title>
</head>
<body>