https://uns.apsis.one/opt-out/Qk3dKK

URL inviato:
https://aps.is/u/Qk3dKKReindirizzato
Report terminato:

Variabili JavaScript · 5 trovate

NomeTipo
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
redirectWithPostfunction
unsubscribeTagobject

Messaggi di log della console · 0 trovati

HTML

<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta charset="utf-8">
    <meta name="x-apple-disable-message-reformatting">
    <meta name="viewport" content=" width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>APSIS One - Digital marketing platform</title>

    <style type="text/css">
      body {
        height: 100vh;
        padding: 0;
        margin: 0;
        width: 100%;
        text-align: center;
      }
      
      .center {
        width: 600px;
        margin: 30px auto;
      }
      
      .container {
        background-color: #fff;
        padding-bottom: 19px;
      }
      
      .logo {
        padding: 20px;
        margin: 0 auto;
        width: 100px;
        height: 100px;
      }
      
      .logo img {
        max-width: 100px;
        max-height: 100px;
      }
      
      .header {
        padding-top: 34px;
      }
      
      .header span {
        font-size: 18px;
        color: rgb(74, 74, 74);
        font-weight: 700;
      }
      
      .message {
        padding-top: 24px;
        padding-bottom: 34px;
      }
      
      .message span {
        font-size: 14px;
        color: rgb(74, 74, 74);
      }
      
      .footer {
        margin: 0 24px;
      }
      
      .button {
        word-break: break-word;
        color: #fff;
        text-decoration: none;
        text-align: center;
      }
      
      .button div {
        background: #72c3b2;
        font-size: 14px;
        font-weight: bold;
        padding: 18px 18px 18px 18px;
        border-radius: 6px;
      }
      
      .preview {
        font-size: 12px;
        color: red;
        margin: 0 24px;
        padding-top: 24px;
      }
      
      @media only screen and (max-width: 600px) {
        .center {
          width: 100% !important;
        }
      }
    </style>
  </head>
  <body style="background-color: #f2f2f2;font-family: Verdana,Geneva,sans-serif;
    " title="">
    <div class="center">
      <div class="logo">
          <img src="https://static.images.apsis.one/logo.png" alt="Apsis logo">
      </div>

      <div class="container">

        <div class="header">
          <span>
              We're sorry to see you go!
            
          </span>
        </div>

          <div class="message">
            <span>Are you sure you want to unsubscribe?</span>
          </div>

          <div class="footer">
            <a class="button" href="#" id="unsubscribe-confirm">
              <div>Unsubscribe now</div>
            </a>
          </div>

      </div>
    </div>
  
    <script type="text/javascript">
      function redirectWithPost(url, data) {

          const form = document.createElement('form');
          form.method = 'POST';
          form.action = url;

          for (const key in data) {
              if (data.hasOwnProperty(key)) {
                  const input = document.createElement('input');
                  input.type = 'hidden';
                  input.name = key;
                  input.value = data[key];
                  form.appendChild(input);
              }
          }

          document.body.appendChild(form);
          form.submit();
      }
      var unsubscribeTag = document.getElementById('unsubscribe-confirm');
      unsubscribeTag.addEventListener('click', function() {
        // if current page is a preview page, do not submit the form
        if (window.location.href.indexOf('preview') > -1) {
          //redirect to the preview page, which means we will still use the GET method
            window.location.href = '/confirm/Qk3dKK';
        } else {
          redirectWithPost('/confirm/Qk3dKK', {});
        }
      });
    </script>

</body></html>