https://www.mashupstack.com/share/6724ff224b158

提交的 URL:
https://www.mashupstack.com/share/6724ff224b158
报告完成时间:

链接 · 找到 0 个

从页面中识别出的传出链接

JavaScript 变量 · 找到 54 个

在页面窗口对象上加载的全局 JavaScript 变量是在函数外部声明的变量,可以从当前范围内的代码中的任何位置访问

名称类型
0object
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
__cfQRobject
__cfBeaconobject
dataLayerobject
fbqfunction
_fbqfunction
google_tag_managerobject

控制台日志消息 · 找到 1 条

记录到 Web 控制台的消息

类型类别记录
warningother
URL
https://connect.facebook.net/en_US/fbevents.js
文本
Unrecognized feature: 'attribution-reporting'.

HTML

页面的原始 HTML 正文

<!DOCTYPE html><html lang="en"><head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> 
  <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
  <title>ShareText - A minimalistic online pastebin to share text/code</title>
  <meta name="keywords" content="mashup,mashupstack,fullstack training in trivandrum, software training in trivandrum, software courses in trivandrum, sreenath, sreenath sasikumar, software training in kerala,Learn software course,Popular software courses,Get placed in IT field,Learn latest software technologies">

      <!-- Styles -->
    <link rel="preload" href="https://www.mashupstack.com/assets/SaaS/fonts/themify.woff?-fvbane" as="font" type="font/woff" crossorigin="">
    <link rel="preload" href="https://www.mashupstack.com/assets/SaaS/fonts/fontawesome-webfont.woff2?v=4.7.0" as="font" type="font/woff2" crossorigin="">
    <link href="https://www.mashupstack.com/assets/SaaS/css/page.css?version=2.14" rel="stylesheet" media="screen">
    <link href="https://www.mashupstack.com/assets/SaaS/css/style.css?version=2.14" rel="stylesheet">
    
    <link href="https://www.mashupstack.com/assets/SaaS/css/custom.css?version=2.14" rel="stylesheet">

    <!-- Favicons -->
     <link rel="shortcut icon" href="https://www.mashupstack.com/assets/image/MashupStack-favicon.png?version=2.14" type="image/x-icon">

    <!-- Google Tag Manager -->
    <script type="text/javascript" async="" src="https://www.googletagmanager.com/gtag/destination?id=AW-716078259&amp;l=dataLayer&amp;cx=c"></script><script type="text/javascript" async="" src="https://www.googletagmanager.com/gtag/js?id=G-BXB0Q9J9N5&amp;l=dataLayer&amp;cx=c"></script><script src="https://connect.facebook.net/signals/config/851701089705350?v=2.9.175&amp;r=stable&amp;domain=www.mashupstack.com&amp;hme=ead923021ccd3483ef3b9b04703d0a78b943fbdc01e8d7cec21c5059f1f4a5e9&amp;ex_m=70%2C121%2C107%2C111%2C61%2C4%2C100%2C69%2C16%2C97%2C89%2C51%2C54%2C172%2C175%2C187%2C183%2C184%2C186%2C29%2C101%2C53%2C77%2C185%2C167%2C170%2C180%2C181%2C188%2C131%2C41%2C189%2C190%2C34%2C143%2C15%2C50%2C194%2C193%2C133%2C18%2C40%2C1%2C43%2C65%2C66%2C67%2C71%2C93%2C17%2C14%2C96%2C92%2C91%2C108%2C52%2C110%2C39%2C109%2C30%2C94%2C26%2C168%2C171%2C140%2C86%2C56%2C84%2C33%2C73%2C0%2C95%2C32%2C28%2C82%2C83%2C88%2C47%2C46%2C87%2C37%2C11%2C12%2C13%2C6%2C7%2C25%2C22%2C23%2C57%2C62%2C64%2C75%2C102%2C27%2C76%2C9%2C8%2C80%2C48%2C21%2C104%2C103%2C105%2C98%2C10%2C20%2C3%2C38%2C74%2C19%2C5%2C90%2C81%2C44%2C35%2C85%2C2%2C36%2C63%2C42%2C106%2C45%2C79%2C68%2C112%2C60%2C59%2C31%2C99%2C58%2C55%2C49%2C78%2C72%2C24%2C113%2C200%2C199%2C201%2C206%2C207%2C208%2C204%2C196%2C132%2C163%2C195%2C197%2C122%2C157%2C145%2C151%2C129%2C232%2C116%2C127%2C233%2C165%2C119%2C235%2C166%2C136%2C123%2C154%2C148%2C114%2C128" async=""></script><script src="https://connect.facebook.net/signals/config/570254868412389?v=2.9.175&amp;r=stable&amp;domain=www.mashupstack.com&amp;hme=ead923021ccd3483ef3b9b04703d0a78b943fbdc01e8d7cec21c5059f1f4a5e9&amp;ex_m=70%2C121%2C107%2C111%2C61%2C4%2C100%2C69%2C16%2C97%2C89%2C51%2C54%2C172%2C175%2C187%2C183%2C184%2C186%2C29%2C101%2C53%2C77%2C185%2C167%2C170%2C180%2C181%2C188%2C131%2C41%2C189%2C190%2C34%2C143%2C15%2C50%2C194%2C193%2C133%2C18%2C40%2C1%2C43%2C65%2C66%2C67%2C71%2C93%2C17%2C14%2C96%2C92%2C91%2C108%2C52%2C110%2C39%2C109%2C30%2C94%2C26%2C168%2C171%2C140%2C86%2C56%2C84%2C33%2C73%2C0%2C95%2C32%2C28%2C82%2C83%2C88%2C47%2C46%2C87%2C37%2C11%2C12%2C13%2C6%2C7%2C25%2C22%2C23%2C57%2C62%2C64%2C75%2C102%2C27%2C76%2C9%2C8%2C80%2C48%2C21%2C104%2C103%2C105%2C98%2C10%2C20%2C3%2C38%2C74%2C19%2C5%2C90%2C81%2C44%2C35%2C85%2C2%2C36%2C63%2C42%2C106%2C45%2C79%2C68%2C112%2C60%2C59%2C31%2C99%2C58%2C55%2C49%2C78%2C72%2C24%2C113" async=""></script><script async="" src="https://connect.facebook.net/en_US/fbevents.js"></script><script async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-N6ZGB9H"></script><script type="text/javascript">(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-N6ZGB9H');</script>
    <!-- End Google Tag Manager -->
    <!-- Meta Pixel Code -->
    <script type="text/javascript">
    !function(f,b,e,v,n,t,s)
    {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
    n.callMethod.apply(n,arguments):n.queue.push(arguments)};
    if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
    n.queue=[];t=b.createElement(e);t.async=!0;
    t.src=v;s=b.getElementsByTagName(e)[0];
    s.parentNode.insertBefore(t,s)}(window, document,'script',
    'https://connect.facebook.net/en_US/fbevents.js');
    fbq('init', '570254868412389');
    fbq('track', 'PageView');
    </script>
    <noscript><img height="1" width="1" style="display:none"
    src="https://www.facebook.com/tr?id=570254868412389&ev=PageView&noscript=1"
    /></noscript>
    <!-- End Meta Pixel Code -->
  <style type="text/css">
  .nav-navbar .nav-link {
      padding-left: 0.9rem;
      padding-right: 0.9rem;
  }
  @font-face {
    font-family: Lato;
    src: url(https://www.mashupstack.com/assets/fonts/lato/lato-regular.ttf);
  }
  .nav-item .nav .nav-link{
    color: #000;
    font-family: Lato;
  }
</style></head>


<body class="">
    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-N6ZGB9H"
    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->
  
 <!-- Navbar -->
    <nav class="navbar navbar-expand-lg navbar-stick-dark navbar-light" data-navbar="sticky">
      <div class="container">

        <div class="navbar-left">
          <button class="navbar-toggler" type="button">☰</button>
          <a class="navbar-brand  d-block d-md-none pt-3 w-150" href="https://www.mashupstack.com">
            <img class="logo-dark " src="https://www.mashupstack.com/assets/image/Mashupstack-logo-inverse-black.png?version=2.14" alt="MashupStack-logo-black">
            <img class="logo-light w-150" src="https://www.mashupstack.com/assets/image/MashupStack-logo-white.png?version=2.14" alt="MashupStack-logo-white">
            <!-- <img class="logo-dark " src="https://www.mashupstack.com/assets/image/new-santa-black-logo.gif?version=2.14" alt="MashupStack-logo-black">
            <img class="logo-light w-150" src="https://www.mashupstack.com/assets/image/new-santa-white-logo.gif?version=2.14" alt="MashupStack-logo-white"> -->
          </a>

          <a class="navbar-brand d-none d-md-block pt-3" href="https://www.mashupstack.com">
            <!-- <img class="logo-dark w-200" src="https://www.mashupstack.com/assets/image/new-santa-black-logo.gif?version=2.14" alt="MashupStack-logo-black">
            <img class="logo-light w-200" src="https://www.mashupstack.com/assets/image/new-santa-white-logo.gif?version=2.14" alt="MashupStack-logo-white"> -->
            <img class="logo-dark w-200" src="https://www.mashupstack.com/assets/image/Mashupstack-logo-inverse-black.png?version=2.14" alt="MashupStack-logo-black">
            <img class="logo-light w-200" src="https://www.mashupstack.com/assets/image/MashupStack-logo-white.png?version=2.14" alt="MashupStack-logo-white">
          </a>
        </div>

        <section class="navbar-mobile">
          <span class="navbar-divider d-mobile-none"></span>

          <ul class="nav nav-navbar navbar-right">
            <li class="nav-item pt-5 pt-sm-0">
              <a class="nav-link" href="https://www.mashupstack.com">Home</a>
            </li>
            <!-- <li class="nav-item">
              <a class="nav-link" href="https://www.mashupstack.in" target="_blank" rel="noopener">Services</a>
            </li> -->
            <!-- <li class="nav-item">
              <a class="nav-link" href="https://exam.mashupstack.com" target="_blank">Exams</a>
            </li> -->
         

            <li class="nav-item">
                <a class="nav-link" href="https://www.mashupstack.com/courses">Courses <span class="arrow"></span></a>
              <nav class="nav">
                  <a class="nav-link" href="https://www.mashupstack.com/courses/popular-courses">Popular Courses</a>
                  <a class="nav-link" href="https://www.mashupstack.com/courses/fullstack-courses">Fullstack Courses</a>
                  <!-- <a class="nav-link" href="https://www.mashupstack.com/courses/testing-courses">Testing Courses</a> -->
                  <a class="nav-link" href="https://www.mashupstack.com/courses/frontend-courses">Frontend Courses</a>
                  <!-- <a class="nav-link" href="https://www.mashupstack.com/courses/backend-courses">Backend Courses</a> -->
                  <!-- <a class="nav-link" href="https://www.mashupstack.com/courses/frameworks">Framework Courses</a> -->
                  <!-- <a class="nav-link" href="">Individual Courses</a> -->
                  <!-- <a class="nav-link" href="">Telegram Courses</a> -->
                  
              </nav>
            </li>
            <li class="nav-item">
               <a class="nav-link" href="https://www.mashupstack.com/placements">Placements</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="#">Why MashupStack <span class="arrow"></span></a>
              <nav class="nav">
                  <a class="nav-link" href="https://www.mashupstack.com/awards">Awards &amp; Recognitions</a>
                  <a class="nav-link" href="https://www.mashupstack.com/new-features">Learning Platform</a>
                  <!-- <a class="nav-link" href="https://www.mashupstack.com/show-events">Events</a> -->
                  <a class="nav-link" href="https://www.mashupstack.com/infrastructure">Infrastructure </a>
                  <a class="nav-link" href="https://www.mashupstack.com/student-achievements">Student Achievements</a>
                  <a class="nav-link" href="https://www.mashupstack.com/mentor">Mentor</a>
                  <!-- <a class="nav-link" href="https://www.google.com/maps/place/MashupStack/@8.548525,76.9164433,17z/data=!3m1!4b1!4m7!3m6!1s0x0:0x2216e5309d9117ce!8m2!3d8.548525!4d76.918632!9m1!1b1" target="_blank" rel="noopener">Reviews</a> -->
                  <!-- <a class="nav-link" href="https://www.mashupstack.com/help">Help</a> -->
              </nav>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="#">More <span class="arrow"></span></a>
              <nav class="nav">
                  <a class="nav-link" href="https://www.mashupstack.com/about">About us</a>
                  <!-- <a class="nav-link" href="https://www.mashupstack.com/show-events">Events</a> -->
                  <!-- <a class="nav-link" href="https://www.mashupstack.com/pay-online">Pay Online </a> -->
                  <a class="nav-link" href="https://www.mashupstack.com/gallery">Gallery </a>
                  <a class="nav-link" href="https://www.mashupstack.com/our-students-work-at">Our Students Work @</a>
                  <a class="nav-link" href="https://www.mashupstack.com/hall-of-fame">Hall of Fame</a>
                  <a class="nav-link" href="https://www.mashupstack.com/contact">Contact us</a>
                  <!-- <a class="nav-link" href="https://www.mashupstack.com/verify-certificate">Verify Certificate</a> -->
                  <a class="nav-link" href="https://www.mashupstack.com/careers">Careers</a>                  
                  <li class="nav-item">
                    <a class="nav-link" href="#">Developer Tools <span class="arrow"></span></a>
                    <nav class="nav">
                      <a class="nav-link" href="https://www.mashupstack.com/share">ShareText</a>
                      <a class="nav-link" href="https://www.mashupstack.com/editor">Code Editor</a>
                      <!-- <a class="nav-link" href="https://www.mashupstack.com/game">Play Game</a> -->
                    </nav>
                  </li>
                  <!-- <a class="nav-link" href="https://www.mashupstack.com/pay-now">Pay Now</a>                   -->
              </nav>
            </li>
            <!-- <li class="nav-item">
               <a class="nav-link" href="https://www.mashupstack.com/company/login">Recruiter</a>
            </li> -->
            <li class="nav-item pt-5 pt-sm-0">
            </li>
          </ul>
          
        </section>
          <!-- <a class="btn btn-xs  btn-success" href="https://www.vaccinefind.in" target="_blank">Vaccine</a> -->
          <!-- <a class="btn btn-xs  btn-mashup" style="position: absolute; top: 13px;" href="https://www.mashupstack.com/login">Login</a> -->
          <a class="btn btn-xs  btn-mashup" href="https://www.mashupstack.com/login">Login</a>

       

      </div>
    </nav><!-- /.navbar -->

  <!-- END Header -->
  <style type="text/css">
    .bg-black-custom{
      background-color: #111;
    }
    #notepad{
      background-color: #1f1f1f;
    }
    .btn-blue{
      background-color: #01579b !important;
      border-color: #01579b !important;
      color: #ffffff; 
      font-size: 11px;
    }
    .btn-green{
      background-color: #00897b !important;
      border-color: #00897b !important;
    }
    .btn-grey{
      background-color: #455a64 !important;
      border-color: #455a64 !important;
      color: #ffffff !important;
    }
    .btn-outline-grey{
      color: #455a64 !important;
      border-color: #78909c !important;
    }
    body{
      text-align: center
    }
    .navbar{
      text-align: left;
    }
    h5{
      font-family: 'Lato';
      margin-top: 2rem;
    }
  </style>
    <!-- Main Content -->
    <main class="main-content bg-black-custom">
      <section class="section" style="">
        <div class="container">
          <header class="section-header mb-5">
            <h2 class="text-white fw-600">ShareText</h2>
            
          </header>
          <div class="row">
            <div class="col-md-11 mx-auto pb-1 ">
                <a class="btn btn-grey float-right ml-1 btn-xs" style="font-size: 10px;" onclick="if (!window.__cfRLUnblockHandlers) return false; copyContent()"><i class="fa fa-files-o" aria-hidden="true"></i> Copy</a>
                <a class="btn btn-grey float-right ml-1 btn-xs" style="font-size: 10px;" onclick="if (!window.__cfRLUnblockHandlers) return false; copyUrl()"><i class="fa fa-link" aria-hidden="true"></i> URL</a>
                <a class="btn btn-green float-right text-white ml-1 btn-xs" style="font-size: 10px;" onclick="if (!window.__cfRLUnblockHandlers) return false; updateNote()"><i class="fa fa-save" aria-hidden="true"></i> Save</a>
                                  <a class="btn btn-outline-grey float-right ml-1 btn-xs" style="font-size: 10px;" onclick="if (!window.__cfRLUnblockHandlers) return false; unlockNotepad(this)" title="Unlock this share"><i class="fa fa-lock fa-lg" aria-hidden="true" style="color: #e53935;"></i> <span class="text-white">Locked</span></a>
                              
                <a class="btn btn-blue float-left mr-1 btn-xs" href="https://www.mashupstack.com/share" style="font-size: 10px;"><i class="fa fa-file-o" aria-hidden="true"></i> New</a> 
                <a class="btn btn-grey float-left mr-4 btn-xs" data-toggle="modal" data-target="#about-modal" style="font-size: 10px;"><i class="fa fa-info-circle" aria-hidden="true"></i> About</a> 
                <span class="text-white ml-auto" style="font-size: 15px;">A minimalistic online pastebin to share text/code</span>
                <!-- <div class="d-none d-sm-flex float-left d-none">
                  <span class="text-white pr-1">Format :</span>
                  <div class="custom-control custom-radio float-left  mr-2 pt-1">
                      <input type="radio" class="custom-control-input" name="radio1" checked>
                      <label class="custom-control-label text-orange fw-600">Text</label>
                  </div> 
                  <div class="custom-control custom-radio float-left mr-2 pt-1">
                      <input type="radio" class="custom-control-input" name="radio1">
                      <label class="custom-control-label text-orange fw-600">Code</label>
                  </div> 
                </div> -->
      
              </div>
            <div class="col-md-11 mx-auto">
              <form class="input-glass">
                <div class="form-group  ">
                  <textarea id="notepad" class="form-control text-white mt-1" style=" letter-spacing: 0.5px;border-left: 3px #455a64 solid; font-size: 14px; line-height: 1.5rem;" rows="16" placeholder="" autofocus="" onchange="if (!window.__cfRLUnblockHandlers) return false; updateNote()" disabled="">https://kiwifarms.net/
https://kiwifarms.st/
https://kiwifarms.us/
https://kiwifarms.pl/
https://kiwifarms.ro/
https://kiwifarms.hk/
https://kiwifarms.tw/

https://kiwifarmsaaf4t2h7gc3dfc5ojhmqruw2nit3uejrpiagrxeuxiyxcyd.onion/

https://tg.josh.rs/
https://t.me/kiwifarms</textarea>
                </div>
                
              </form>
            </div>
          </div>
        </div>
      </section>
    </main>
    <div class="modal fade" id="about-modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
      <div class="modal-dialog modal-dialog-centered modal-lg text-white" role="document">
        <div class="modal-content " style="background-color: #333; border: 1px solid grey;">
          <div class="modal-body">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">×</span>
            </button>
            <div class="text-left">
              <p>ShareText is a pastebin service to copy, paste and share either code or text.<br>It's free and easy to use.</p>
              <h5 style="border-bottom: 1px solid #fff;">HOW TO USE IT?</h5>
              <ul style="padding-left: 15px;">
                <li>Click on "NEW" to create a new ShareText link.</li>
                <li>Copy or type the code or text which you would like to share to a friend or team.</li>
                <li>Once it's done, just make it "LOCKED".</li>
                <li>Click on "URL". Now the url has been copied and you can share it to anyone.</li>
                <li>The person receiving the shared link, can view or copy the file.</li>
                <li>To edit it, it has to be changed to "UNLOCKED".</li>
              </ul>
              <h5 style="border-bottom: 1px solid #fff;">DURATION</h5>
              <p>Your entries will be kept for a month. If you need to clear the data earlier, you can erase them yourself.</p>
              <h5 style="border-bottom: 1px solid #fff;">RULES</h5>
              <p>Don't spam or use it for any illegal purpose.</p>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- <footer class="footer text-white bg-black1 pt-0 pb-3 bt-0">
        <div class="container">
          <div class="row align-items-center">
        
            <div class="col-md-12 text-center">
              <small>Created with <i class="fa fa-heart heart-beat " aria-hidden="true"></i> at Mashupstack</small>
            </div>
          </div>
        </div>
    </footer> -->
    <!-- Scroll top -->
    <button class="btn btn-circle btn-primary scroll-top"><i class="fa fa-angle-up"></i></button>
    <!-- Scripts -->
    <script src="https://www.mashupstack.com/assets/SaaS/js/page.js?version=2.14" type="text/javascript"></script>
    <!-- <script src="https://www.mashupstack.com/assets/SaaS/js/script.js?version=2.14"></script> -->
    <style type="text/css">
  #message-field{
    position: fixed;
    right: 0;
    top: 10%;
    z-index: 1051;
    width: 25%;
  }
  .message{
    /*height: 15%;*/
    border-radius: 5px;
    color: white;
    /*background-color: red;*/
  }
  .close-message{
    float: right;
  }
  .alert-green{
    background-color: #00897b;
  }
  .alert-red{
    background-color: #e53935;
  }
</style>
<script type="text/javascript">
function showSuccessMessage(message,time) {
  showMessage(getSuccessMessage(message),time);
}
function showErrorMessage(message,time) {
  showMessage(getErrorMessage(message),time);
}
function getSuccessMessage(message) {
  return '<div class="message alert alert-green" style="display: none;"><span class="close-message" onclick="removeMessage(this)">&#10006;</span>'+message+'</div>';
}
function getErrorMessage(message) {
  return '<div class="message alert alert-red" style="display: none;"><span class="close-message" onclick="removeMessage(this)">&#10006;</span>'+message+'</div>';
}
function showMessage(message,time) {
  if (time==undefined) {
    time=2000;
  }
  var messageElement = $(message);
  var messageBox = getMessageBox();
  messageBox.prepend(messageElement);
  messageElement.show('slow');

  setTimeout(function() {
    messageElement.hide('slow', function() {
      messageElement.remove();
    });
  }, time);
}
function removeMessage(element) {
  $(element).parents('.message').remove();
}
function getMessageBox() {
  if (!$('#message-field').length) {
    $('body').append('<div id="message-field"></div>')
  }
  return $('#message-field');
}
</script>
    <script type="text/javascript">
function sendAjax(url, method, data, successCallback, errorCallback) {
  if (!errorCallback) {
    errorCallback = showAjaxRequestFailedMessage;
  }
  if (!successCallback) {
    successCallback = showAjaxRequestSuccessMessage;
  }
  //showSpinnerImage();
  $.ajax({
    type: method,
    url: url,
    data: data, 
    dataType: 'json',
    success: function(result) {
      hideSpinnerImage();
      switch(result.status) {
        case 'redirect':
          window.location.href = getBaseUrl(result.url);
          break;
        case 'unauthenticated':
        redirectToLogin(result);
          break;
        case 'success':
        successCallback(result);
          break;
        case 'error':
          errorCallback(result);
          break;
        case 'validation_error':
          errorCallback(result);
          break;
        default:
        successCallback(result);
      }
    },
    error: function() { 
      hideSpinnerImage();
      errorCallback();
    }
  });
}
function ajaxGet(url, data, successCallback, errorCallback){
  sendAjax(url, 'GET', data, successCallback, errorCallback);
}
function ajaxPost(url, data, successCallback, errorCallback){
  sendAjax(url, 'POST', data, successCallback, errorCallback);
}

function redirectToLogin(result) {
  switch(result.userType) {
    case 'admin':
      window.location.href = getBaseUrl('admin/login');
      break;
    case 'company':
      window.location.href = getBaseUrl('company/login');
      break;
    case 'employee':
      window.location.href = getBaseUrl('employee/login');
      break;
    default:
      window.location.href = getBaseUrl('login');
  } 
}

function getBaseUrl(path = '') {
  var url = new URL(window.location.href);
  return url.origin+'/'+path;
}
function showAjaxRequestFailedMessage(result = null){
  if (result) {
    showErrorMessage(result.message);
  }else{
    showErrorMessage('Ajax Request Failed. Please try again');
  }
}
function showAjaxRequestSuccessMessage(result = null){
  if (result && result.message) {
    showSuccessMessage(result.message);
  }
}
function sendAjaxWithFile(url, method, data, successCallback, errorCallback) {
  if (!errorCallback) {
    errorCallback = showAjaxRequestFailedMessage;
  }
  if (!successCallback) {
    successCallback = showAjaxRequestSuccessMessage;
  }
  $.ajax({
    type: method,
    url: url,
    data: data, 
    dataType: 'json',
    processData: false,
    contentType: false,
    success: function(result) {
      hideSpinnerImage()
      switch(result.status) {
        case 'unauthenticated':
        redirectToLogin(result);
          break;
        case 'success':
        successCallback(result);
          break;
        case 'error':
        errorCallback(result);
          break;
        default:
        successCallback(result);
      }
    },
    error: function() { 
      hideSpinnerImage()
      errorCallback();
    }
  });
}
function ajaxGetWithFile(url, data, successCallback, errorCallback){
  sendAjaxWithFile(url, 'GET', data, successCallback, errorCallback);
}
function ajaxPostWithFile(url, data, successCallback, errorCallback){
  sendAjaxWithFile(url, 'POST', data, successCallback, errorCallback);
}
  function showSpinnerImage() {
    // $('body').append('<div id="spinnerImage" style="position:absolute;width:100%;height:100%;background-color:black;opacity:0.5;z-index:1000;">\
    //           <div class="spinner-border text-primary" role="status">\
    //             <span class="sr-only">Loading...</span>\
    //           </div>\
    //         </div>');
    $('.loading-spinner').show();
  }
  function  hideSpinnerImage(){
    // $('#spinnerImage').hide();
    $('.loading-spinner').hide();
    return;
  }
</script>    <script type="text/javascript">
      function lockNotepad(element) {
        var url = getBaseUrl('share/lock/6724ff224b158');
        var data = {};
        ajaxPost(url,data,function(result) {
          $(element).replaceWith('<a class="btn btn-outline-grey float-right ml-1 btn-xs" style="font-size: 10px;" onclick="unlockNotepad(this)" title="Unlock this share"><i class="fa fa-lock fa-lg" aria-hidden="true" style="color: #e53935;"></i> <span class="text-white">Locked</span></a>');
          $('#notepad').prop('disabled',true);
        });
      }
      function unlockNotepad(element) {
        var url = getBaseUrl('share/unlock/6724ff224b158');
        var data = {};
        ajaxPost(url,data,function(result) {
          $(element).replaceWith('<a class="btn btn-outline-grey float-right ml-1 btn-xs" style="font-size: 10px;" onclick="lockNotepad(this)" title="Lock this share to prevent accidental editing"><i class="fa fa-unlock-alt fa-lg" aria-hidden="true" style="color: #26a69a;"></i> <span class="text-white">Unlocked</span></a>')
          $('#notepad').prop('disabled',false);
        });
      }
      function updateNote() {
        var url = getBaseUrl('share/update/6724ff224b158');
        var data = {
          note: $('#notepad').val()
        };
        ajaxPost(url,data);
      }
      function copyContent() {
        var notepad = document.getElementById('notepad');
        notepad.select();
        notepad.setSelectionRange(0, 99999);
        document.execCommand("copy");
        showSuccessMessage('Content copied!');
      }
      function copyUrl() {
        const el = document.createElement('textarea');
        el.value = "https://www.mashupstack.com/share/6724ff224b158";
        document.body.appendChild(el);
        el.select();
        document.execCommand('copy');
        document.body.removeChild(el);
        showSuccessMessage('Url copied!');
      }
    </script>
  <script defer="" src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;rayId&quot;:&quot;8dbd4593ab402150&quot;,&quot;version&quot;:&quot;2024.10.4&quot;,&quot;serverTiming&quot;:{&quot;name&quot;:{&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfSpeedBrain&quot;:true,&quot;cfCacheStatus&quot;:true}},&quot;token&quot;:&quot;a502445f5122436c822b98677ff7c179&quot;,&quot;b&quot;:1}" crossorigin="anonymous"></script>

  
<script type="text/javascript" id="" charset="">!function(b,e,f,g,a,c,d){b.fbq||(a=b.fbq=function(){a.callMethod?a.callMethod.apply(a,arguments):a.queue.push(arguments)},b._fbq||(b._fbq=a),a.push=a,a.loaded=!0,a.version="2.0",a.queue=[],c=e.createElement(f),c.async=!0,c.src=g,d=e.getElementsByTagName(f)[0],d.parentNode.insertBefore(c,d))}(window,document,"script","https://connect.facebook.net/en_US/fbevents.js");fbq("init","851701089705350");fbq("set","agent","tmgoogletagmanager","851701089705350");fbq("track","PageView");</script>
<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=851701089705350&amp;ev=PageView&amp;noscript=1"></noscript><iframe height="0" width="0" style="display: none; visibility: hidden;"></iframe>
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true"><div class="pswp__bg"></div><div class="pswp__scroll-wrap"><div class="pswp__container"><div class="pswp__item"></div><div class="pswp__item"></div><div class="pswp__item"></div></div><div class="pswp__ui pswp__ui--hidden"><div class="pswp__top-bar"><div class="pswp__counter"></div><button class="pswp__button pswp__button--close" title="Close (Esc)"></button> <button class="pswp__button pswp__button--share" title="Share"></button> <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button> <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button><div class="pswp__preloader"><div class="pswp__preloader__icn"><div class="pswp__preloader__cut"><div class="pswp__preloader__donut"></div></div></div></div></div><div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"><div class="pswp__share-tooltip"></div></div><button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"></button> <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"></button><div class="pswp__caption"><div class="pswp__caption__center"></div></div></div></div></div></body></html>