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/proxy.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 static/proxy.js (limited to 'static/proxy.js') 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