Website Development Indonesia

Update Code Safelink Converter 12 Desember 2017

Untuk Cara Instal, Deskripsi, Dan Cara Penerapan Klik Disini (Cara Membuat Simple Safelink Converter)

Code Untuk Di Halaman Safelink

<script type="text/javascript" async>
  function getQueryVariable(variable) {
 var query = window.location.search.substring(1);
 var vars = query.split("&");
 for (var i=0;i<vars.length;i++) {
  var pair = vars[i].split("=");
  if(pair[0] == variable){return pair[1];}
 }
 return(false);
}
  
  var count = 11;
  var queryU = getQueryVariable('u');
  var redirect = decodeURIComponent(queryU);
  var noprotocol = redirect.replace(/(^\w+:|^)\/\//, '');

function countDown(){
    var timer = document.getElementById("timer");
    var done = document.getElementById("done");
    var ket = document.getElementById("ket");
    if(count > 0){
        count--;
        timer.innerHTML = "<div id='timer' class='w3-center w3-panel w3-light-grey'>Your Link Will Be Appears In <b>"+count+"</b> Seconds.</div>";
        setTimeout("countDown()", 1000);
    }else{
document.getElementById("progressBar").style.display = "none";
timer.innerHTML = "<div id='timer' class='w3-center w3-panel w3-light-grey'>Your Link Already Appeared, <b>Scroll Down</b> To View.</div>";
done.innerHTML = "<div id='nots' class='w3-center w3-light-grey w3-display-inline-block'><i class='fa fa-arrow-right' aria-hidden='true'></i> <a href='"+redirect+"' class='w3-btn w3-green'>Download Now (This Your Link) <i class=\"fa fa-download\" aria-hidden=\"true\"></i></a> <i class='fa fa-arrow-left' aria-hidden='true'></i></div>";
ket.innerHTML = "<div class='w3-panel w3-green w3-card-4 w3-center'>Your Destination Is <pre>"+redirect+"</pre></div>";
    }
}
  </script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-7975270895217217"
     data-ad-slot="5315452541"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<span id="timer">
<script>
  countDown();</script>
</span>
<div id="progressBar">
  <div></div>
</div>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="autorelaxed"
     data-ad-client="ca-pub-7975270895217217"
     data-ad-slot="6234751119"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-7975270895217217"
     data-ad-slot="7267894124"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<span id="done"></span>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-7975270895217217"
     data-ad-slot="2600604346"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<span id="ket"></span>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-7975270895217217" data-ad-slot="7382733759"></ins><script>(adsbygoogle=window.adsbygoogle || []).push({});</script><link href="https://www.w3schools.com/w3css/4/w3.css" rel="stylesheet" /><style>#progressBar {
  width: 90%;
  margin: 10px auto;
  height: 22px;
  background-color: #0A5F44;
}

#progressBar div {
  height: 100%;
  text-align: right;
  padding: 0 10px;
  line-height: 22px; /* same as #progressBar height if we want text middle aligned */
  width: 0;
  background-color: #CBEA00;
  box-sizing: border-box;
}</style><script>function progress(timeleft, timetotal, $element) {
    var progressBarWidth = timeleft * $element.width() / timetotal;
    $element.find('div').animate({ width: progressBarWidth }, timeleft == timetotal ? 0 : 1000, 'linear').html(timeleft + " secs");
    if(timeleft > 0) {
        setTimeout(function() {
            progress(timeleft - 1, timetotal, $element);
        }, 1000);
    }
};

progress(10, 10, $('#progressBar'));
</script>
Edit Sesuka Kalian. Donasi dengan iklan adsense saya ya hehe

Code Untuk Di Widget atau Template Diatas </body>


Update Code Untuk Widget/Template Dengan Tambahan Protected Links : Update Code Widget Dan Template Untuk Simple Safelink Converter (Klik Disini)

<script async type='text/javascript'>
//*<![CDATA[*//
var myArray = ['https://www.webmanajemen.xyz/p/redirect.html?u=', 'https://www.webmanajemen.xyz/p/advertisement.html?u=', 'http://www.webmanajemen.xyz/p/advertise.html?u='];
var safelink = myArray[Math.floor(Math.random() * myArray.length)];
$( 'a' ).each(function() {
  if( location.hostname === this.hostname || !this.hostname.length ) {
    $(this).attr("href", $(this).attr("href")+'?success');
      //$(this).addClass('local btn btn-success text-white w3-btn w3-green w3-text-white');
  } else {
    $(this).attr("href", safelink+encodeURIComponent($(this).attr("href")+'?utm=web-manajemen.blogspot.com'));
      //$(this).addClass('external btn-danger text-white btn w3-btn w3-red w3-text-white');
  }
});
//*]]>*//
</script>
Ganti URL dengan URL halaman safelink kalian

Subscribe to receive free email updates:

0 Response to "Update Code Safelink Converter 12 Desember 2017"

Post a Comment

Bila Ada posting yang kurang, atau error atau yang lainnya, silahkan tinggalkan komentar agar artikel/post di perbaiki.
Jangan Lupa Cek Box "Notify Me" agar tahu komentar kamu dibalas oleh saya.

If there are any posts that are missing, or error or anything else, please leave a comment for the article / post to be fixed.
Do not Forget Check Box "Notify Me" to know our comments replied by me.

Disqus Comments