Compare commits
2 Commits
afac80c54a
...
368381d5a6
| Author | SHA1 | Date |
|---|---|---|
|
|
368381d5a6 | |
|
|
d71331be75 |
|
|
@ -6,6 +6,13 @@ function checkTextarea(textarea) {
|
||||||
console.log("click " + textarea.id + " -> " + textarea.value);
|
console.log("click " + textarea.id + " -> " + textarea.value);
|
||||||
|
|
||||||
// TODO make queries to the fairlanguage server
|
// 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() {
|
(function() {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,8 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"activeTab"
|
"activeTab",
|
||||||
|
"https://fairlanguage2.dev-star.de/*"
|
||||||
],
|
],
|
||||||
|
|
||||||
"browser_action": {
|
"browser_action": {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Test action</title>
|
<meta charset="utf-8">
|
||||||
|
<title>Fairlanguage</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue