diff options
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); +}); |