diff options
author | 2025-02-24 01:09:00 +0100 | |
---|---|---|
committer | 2025-02-24 01:09:00 +0100 | |
commit | 54a41f2431c3d60f5845a15447f13413299e41f2 (patch) | |
tree | f9395bb35ae4223a8ee944299ce430168de4d657 /static/proxy.js | |
download | httptool-54a41f2431c3d60f5845a15447f13413299e41f2.tar.gz httptool-54a41f2431c3d60f5845a15447f13413299e41f2.tar.bz2 httptool-54a41f2431c3d60f5845a15447f13413299e41f2.tar.lz httptool-54a41f2431c3d60f5845a15447f13413299e41f2.zip |
feat: da extension
Diffstat (limited to 'static/proxy.js')
-rw-r--r-- | static/proxy.js | 6 |
1 files changed, 6 insertions, 0 deletions
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); +}); |