Website Development Indonesia

Update code Simple SafeLink v3

First post : Cara Simple Membuat Blogger Safelink Converter 2017 100% Work
Cara Simple Membuat Blogger Safelink Converter 2017 100% Work

function safelink(){
var safelinkpage = ['https://web-manajemen.blogspot.com/p/redirect.html?u=','https://web-manajemen.blogspot.com/p/a.html?u='];
var safelink = safelinkpage[Math.floor(Math.random() * safelinkpage.length)] + encodeURIComponent( 'http://linkshrink.net/zslz=' );
var protectedLinks = '/(web-manajemen.blogspot.com|facebook.com|fb.me|bing.com|www.google.com|plus.google.com)/';
var anchors = document.getElementsByTagName("a");
for (var i = 0; i < anchors.length; i++) {
  var intl = anchors[i];
 if ( !intl.href.match( protectedLinks ) ) {
    intl.href = safelink + encodeURIComponent( intl.href );
   if (intl.hasAttribute("target")){
    intl.removeAttribute("target");
    }
   intl.setAttribute("target", "_blank");
 }
}
  }
document.onreadystatechange = () => {
  if (document.readyState === 'interactive') {
  safelink(); 
    }
  };

Subscribe to receive free email updates:

0 Response to "Update code Simple SafeLink v3"

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