aboutsummaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-02-24 01:09:00 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-02-24 01:09:00 +0100
commit54a41f2431c3d60f5845a15447f13413299e41f2 (patch)
treef9395bb35ae4223a8ee944299ce430168de4d657 /static
downloadhttptool-54a41f2431c3d60f5845a15447f13413299e41f2.tar.gz
httptool-54a41f2431c3d60f5845a15447f13413299e41f2.tar.bz2
httptool-54a41f2431c3d60f5845a15447f13413299e41f2.tar.lz
httptool-54a41f2431c3d60f5845a15447f13413299e41f2.zip

feat: da extension

Diffstat (limited to 'static')
-rw-r--r--static/favicon.pngbin0 -> 1571 bytes
l---------static/manifest.json1
-rw-r--r--static/proxy.html30
-rw-r--r--static/proxy.js6
4 files changed, 37 insertions, 0 deletions
diff --git a/static/favicon.png b/static/favicon.png
new file mode 100644
index 0000000..825b9e6
--- /dev/null
+++ b/static/favicon.png
Binary files differ
diff --git a/static/manifest.json b/static/manifest.json
new file mode 120000
index 0000000..6ea97b4
--- /dev/null
+++ b/static/manifest.json
@@ -0,0 +1 @@
+../manifest.json \ No newline at end of file
diff --git a/static/proxy.html b/static/proxy.html
new file mode 100644
index 0000000..6464215
--- /dev/null
+++ b/static/proxy.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta
+ name="viewport"
+ content="width=device-width, initial-scale=1.0"
+ />
+ <title>Document</title>
+ <style>
+ html {
+ background: var(--bg, #23222b);
+ color: var(--fg, #dedede);
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
+ Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
+ sans-serif;
+ }
+ iframe {
+ border: 0px none #0000;
+ width: 100vw;
+ height: 100vh;
+ position: fixed;
+ top: 0;
+ left: 0;
+ }
+ </style>
+ <script src="/proxy.js"></script>
+ </head>
+ <body></body>
+</html>
diff --git a/static/proxy.js b/static/proxy.js
new file mode 100644
index 0000000..c8529a2
--- /dev/null
+++ b/static/proxy.js
@@ -0,0 +1,6 @@
+document.addEventListener('DOMContentLoaded', () => {
+ const u = location.href.replace('proxy.html', 'index.html');
+ const a = document.createElement('iframe');
+ a.src = u;
+ document.body.appendChild(a);
+});