<html lang="en">
      <head>
        <title>Welcome to Verifibation&trade; | Jeltz</title>
        <meta name="description" content="Welcome to Verifibation&trade;, the free Mastodon verification system.">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        
    <script>
      (function(w,d,s,l,i){
        w[l]=w[l]||[];w[l].push({"gtm.start":new Date().getTime(),event:"gtm.js"});
        var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!="dataLayer"?"&l="+l:"";
        j.async=true;j.src="https://www.googletagmanager.com/gtm.js?id="+i+dl;
        f.parentNode.insertBefore(j,f);
      })(window,document,"script","dataLayer","GTM-KJBSML5");
    </script>
  
      </head>
      <body onload="showURL()">
        
    <noscript>
      <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KJBSML5"
        height="0" width="0" style="display:none;visibility:hidden"></iframe>
    </noscript>
  
        
    <header>
      <h1 style="margin:0px;">Welcome to Verifibation<small>&trade;</small> by Jeltz.</h1>
    </header>
  
        <main>
          <span>
            This is a free service by Jeltz &amp;
            <a href="https://xn--8r9a.com/@north" rel="me">@north@&#xAA70;.com</a>
            that allows any user to add a verified URL to their bio.
          </span>
          <section>
            <h3>How does it work?</h3>
            <p>
              <span>Just generate a URL below and add it to your profile.</span>
              <span>The generated URL contains a link to your profile with a rel="me" tag.</span>
            </p>
          </section>
          <form id="form" onsubmit="return copyURL()">
            <fieldset>
              <legend><a id="mstdn_url"></a></legend>
              <span>@</span>
              <input id="mstdn_username" type="text" placeholder="username" autofocus oninput="showURL()"/>
              <span>@</span>
              <input id="mstdn_domain" type="text" placeholder="social.example.com" oninput="showURL()"/>
              <button type="submit">Copy URL and Redirect</button>
            </fieldset>
          </form>
          <small>
            <span>
              <strong>Note:</strong>
              Due to the way Mastodon currently handles verification, the username and domain you enter here may not be the same as your canonical username.
            </span>
            <br/>
            <span>
              If your canonical username is @username@example.com, but your instance website is located at social.example.com, you should use @username@social.example.com
            </span>
          </small>
        </main>
        
    <footer>
      <small>
        <span>Jason Parker - Jeltz ||</span>
        <a rel="me" href="https://xn--8r9a.com/@north">@north@&#xAA70;.com</a></span>
        <span> // </span>
        <a rel="me" href="https://infosec.exchange/@north">@north@infosec.exchange</a>
        <span class="right">
           For consulting services: <a href="mailto:info@jeltz.org">info@jeltz.org</a>
        </span>
      </small>
    </footer>
  
        
    <style>
      body {
        background-color: rgb(33, 37, 41);
        color: rgb(173, 181, 189);
        margin: 0px;
      }
      header, footer, main {
        padding: 6px 12px;
      }
      header, footer {
        background-color: rgb(43, 48, 53);
      }
      header {
        margin-bottom: 1rem;
      }
      footer {
        width: 100%;
        bottom: 0px;
        right: 0px;
        position: absolute;
        outline: 1px solid;
        padding-bottom: 0px;
        text-align: center;
      }
      a:visited {
        color: rgb(13, 110, 253)
      }
      a {
        color: rgb(110, 168, 254)
      }
      .right {
        position: absolute;
        right: 6px;"
      }
    </style>
  

        <script>
          function getData() {
            element_username=document.getElementById("mstdn_username");
            element_domain=document.getElementById("mstdn_domain");

            mstdn_username=element_username.value || element_username.placeholder;
            mstdn_domain=element_domain.value || element_domain.placeholder;
            baseURL="https://v.jeltz.org/";

            return {
              baseURL: baseURL,
              username: mstdn_username,
              domain: mstdn_domain,
              URL: baseURL+"@"+mstdn_username+"@"+mstdn_domain
            };
          }
          function showURL() {
            data=getData()
            element_url=document.getElementById("mstdn_url")
            element_url.href=data.URL;
            element_url.innerHTML=data.URL;
          }
          function copyURL() {
            data=getData()
            navigator.clipboard.writeText(data.URL).then(() => {
              alert("Copied "+data.URL+" to clipboard!\r\rRedirecting...")
              window.location=data.URL
            });
            return false
          }
        </script>
      </body>
    </html>