maybe just inject html into every page? idk i need to read more about how extensions work

This commit is contained in:
Vuk 2024-08-13 15:32:33 +02:00
parent 6bf8d0202c
commit 0fc6c94019

View File

@ -1,6 +1,30 @@
<!DOCTYPE html>
<html> <html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body, html {
margin: 0;
padding: 0;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #f0f0f0;
}
#milje {
position: fixed;
top: 50%;
left: 50%;
transform: translate(50%, -50%);
}
</style>
</head>
<body> <body>
<h1>browser-milje!</h1> <h1>browser-milje!</h1>
<img id="milje" src="assets/milje.png" alt="this should represent the milje">
<script src="milje.js"></script> <script src="milje.js"></script>
</body> </body>
</html> </html>