mirror of
https://github.com/miljegen/browser-milje.git
synced 2024-12-22 15:37:28 +00:00
maybe just inject html into every page? idk i need to read more about how extensions work
This commit is contained in:
parent
6bf8d0202c
commit
0fc6c94019
24
popup.html
24
popup.html
@ -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>
|
Loading…
Reference in New Issue
Block a user