Working POC

This commit is contained in:
Mike Conrad
2024-08-08 07:58:33 -04:00
commit ae73342bf2
3 changed files with 186 additions and 0 deletions

29
popup.html Normal file
View File

@ -0,0 +1,29 @@
<!doctype html>
<html>
<head>
<script src="popup.js" type="module"></script>
<style>
#cookieJson {
background: #f5f5f5;
border: 1px dashed black;
padding: 20px;
}
#cookieInput {
}
</style>
</head>
<body>
<form id="control-row">
<label for="input">Domain:</label>
<input type="text" id="input" />
<br />
</form>
<textarea id="cookieInput" rows="20" cols="50"></textarea>
<button id="getCookiesButton">Get Cookies</button>
<button id="saveCookiesButton">Set Cookies</button>
<button id="go">Clear Cookies</button>
<pre id="cookieJson"></pre>
<span id="message" hidden></span>
</body>
</html>