[javascript] hi
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
- document.write('<!DOCTYPE html>');
- document.write('<html>');
- document.write(' <head>');
- document.write(' <meta charset="UTF-8">');
- document.write(' <title>My IP Address</title>');
- document.write(' <style>');
- document.write(' body {');
- document.write(' background-color: black;');
- document.write(' color: white;');
- document.write(' font-family: Arial, sans-serif;');
- document.write(' font-size: 24px;');
- document.write(' text-align: center;');
- document.write(' padding-top: 50px;');
- document.write(' }');
- document.write(' </style>');
- document.write(' </head>');
- document.write(' <body>');
- document.write(' <h1>This you?</h1>');
- document.write(' <h2 id="ip">Hold on just a sec</h2>');
- document.write(' <p>Built using <a style="color: #fff;" href="https://github.com/3kh0/echolog" target="_blank">echolog</a></p>');
- document.write(' <script>');
- document.write(' let echolog = {};');
- document.write(' // here is the fun');
- document.write(' fetch("https://wtfismyip.com/json")');
- document.write(' .then((response) => response.json())');
- document.write(' .then((data) => {');
- document.write(' let echolog = {');
- document.write(' ipAddress: data.YourFuckingIPAddress,');
- document.write(' };');
- document.write('');
- document.write(' var ip = document.getElementById("ip")');
- document.write(' ip.innerText = echolog.ipAddress');
- document.write(' })');
- document.write(' .catch((error) => console.error(error));');
- document.write(' </script>');
- document.write(' </body>');
- document.write('</html>');
Editor
You can edit this paste and save as new: