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);
|
||||
|
||||
// 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() {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,8 @@
|
|||
},
|
||||
|
||||
"permissions": [
|
||||
"activeTab"
|
||||
"activeTab",
|
||||
"https://fairlanguage2.dev-star.de/*"
|
||||
],
|
||||
|
||||
"browser_action": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test action</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Fairlanguage</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Reference in New Issue