This repository has been archived on 2021-12-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
D3/D3-Annotator/popup/default.html

35 lines
964 B
HTML

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<b>Dark Web Annotator</b><img src="32.png">
<p id="details">
<b>Connected to server.</b>
<!--
<script>
function getStatus(){
/* Read IP from local.storage config later. */
let urlQuery='http://10.1.100.17:8080/api/status';
let xhr = new XMLHttpRequest();
let reponseObj;
xhr.open("GET", urlQuery);
xhr.send(null);
xhr.onprogress = function(event) {
return xhr.response;
}
}
let htmlArray = getStatus();
console.log("htmlArray: " + htmlArray);
/* Print on HTML page. */
document.getElementById("details").innerHTML = "<b>Connected to:</b> 10.1.100.17 <br> <b>Status:</b>"+htmlArray;
</script>-->
</body>
</html>