From 54a41f2431c3d60f5845a15447f13413299e41f2 Mon Sep 17 00:00:00 2001 From: memdmp Date: Mon, 24 Feb 2025 01:09:00 +0100 Subject: feat: da extension --- static/favicon.png | Bin 0 -> 1571 bytes static/manifest.json | 1 + static/proxy.html | 30 ++++++++++++++++++++++++++++++ static/proxy.js | 6 ++++++ 4 files changed, 37 insertions(+) create mode 100644 static/favicon.png create mode 120000 static/manifest.json create mode 100644 static/proxy.html create mode 100644 static/proxy.js (limited to 'static') diff --git a/static/favicon.png b/static/favicon.png new file mode 100644 index 0000000..825b9e6 Binary files /dev/null and b/static/favicon.png 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 @@ + + + + + + Document + + + + + 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); +}); -- cgit v1.2.3