Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <title>HTML Viewer</title>
- <base href="/">
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- </head>
- <body style="margin:0;">
- <iframe id="htmlViewer" style="width:100%;height:auto;outline:none;"></video>
- <script>
- window.addEventListener('load', function() {
- document.querySelector('#htmlViewer').setAttribute('src', decodeURIComponent(window.location.search.replace('?file=', '')));
- })
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment