starting on the extension
This commit is contained in:
16
browser/main/main.html
Normal file
16
browser/main/main.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title></title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<p>Here is some text</p>
|
||||
<p id="changeme">old</p>
|
||||
<script src="script.js" async defer></script>
|
||||
</body>
|
||||
</html>
|
5
browser/main/script.js
Normal file
5
browser/main/script.js
Normal file
@@ -0,0 +1,5 @@
|
||||
document.getElementById("changeme").innerText = "newer"
|
||||
|
||||
window.fetch("http://127.0.0.1:9001").then((e) => {
|
||||
console.log(e)
|
||||
})
|
4
browser/main/style.css
Normal file
4
browser/main/style.css
Normal file
@@ -0,0 +1,4 @@
|
||||
html {
|
||||
background: black;
|
||||
color: white;
|
||||
}
|
Reference in New Issue
Block a user