6 shares

Fians.id – Special kali ini saya akan membagikan cara membuat safelink, sesuai judul diatas safelink yang akan kita buat dalam bentuk Auto Safelink seperti halnya pada website Safelinkconferter. dasar dari script ini hampir sama dengan script-script yang sebelumnya sudah pernah di post di blog-blog lainya. pengembanganya saya hanya mengkombinasikan dengan javascript yang digunakan oleh safelinkconferter, sehingga dapat melakukan Auto direct link tanpa harus melakukan shorten terlebih dahulu.

Oke Langsung saja ke intinya, pertama kalian buat Post atau laman sebagai tempat meletakkan iklan dan script tujuan direct blog kalian, setelah itu copy dan paste kode berikut di Laman atau post kalian

Panduan Membuat Auto Safelink Untuk Blogspot.com

 <script type="text/javascript">
var $_GET = {};

document.location.search.replace(/\??(?:([^=]+)=([^&]*)&?)/g, function () {
    function decode(s) {
        return decodeURIComponent(s.split("+").join(" "));
    }

    $_GET[decode(arguments[1])] = decode(arguments[2]);
});
// Create Base64 Object
var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var t="";var n,r,i,s,o,u,a;var f=0;e=Base64._utf8_encode(e);while(f<e.length){n=e.charCodeAt(f++);r=e.charCodeAt(f++);i=e.charCodeAt(f++);s=n>>2;o=(n&3)<<4|r>>4;u=(r&15)<<2|i>>6;a=i&63;if(isNaN(r)){u=a=64}else if(isNaN(i)){a=64}t=t+this._keyStr.charAt(s)+this._keyStr.charAt(o)+this._keyStr.charAt(u)+this._keyStr.charAt(a)}return t},decode:function(e){var t="";var n,r,i;var s,o,u,a;var f=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(f<e.length){s=this._keyStr.indexOf(e.charAt(f++));o=this._keyStr.indexOf(e.charAt(f++));u=this._keyStr.indexOf(e.charAt(f++));a=this._keyStr.indexOf(e.charAt(f++));n=s<<2|o>>4;r=(o&15)<<4|u>>2;i=(u&3)<<6|a;t=t+String.fromCharCode(n);if(u!=64){t=t+String.fromCharCode(r)}if(a!=64){t=t+String.fromCharCode(i)}}t=Base64._utf8_decode(t);return t},_utf8_encode:function(e){e=e.replace(/\r\n/g,"\n");var t="";for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r<128){t+=String.fromCharCode(r)}else if(r>127&&r<2048){t+=String.fromCharCode(r>>6|192);t+=String.fromCharCode(r&63|128)}else{t+=String.fromCharCode(r>>12|224);t+=String.fromCharCode(r>>6&63|128);t+=String.fromCharCode(r&63|128)}}return t},_utf8_decode:function(e){var t="";var n=0;var r=c1=c2=0;while(n<e.length){r=e.charCodeAt(n);if(r<128){t+=String.fromCharCode(r);n++}else if(r>191&&r<224){c2=e.charCodeAt(n+1);t+=String.fromCharCode((r&31)<<6|c2&63);n+=2}else{c2=e.charCodeAt(n+1);c3=e.charCodeAt(n+2);t+=String.fromCharCode((r&15)<<12|(c2&63)<<6|c3&63);n+=3}}return t}}

// Define the string
var string = $_GET['go'];

// Encode the String
var encodedString = Base64.encode(string);
console.log(encodedString); // Outputs: "SGVsbG8gV29ybGQh"

// Decode the String
var decodedString = Base64.decode(string);
console.log(decodedString);
document.write("<div id='displaynone'>Link will appear in</div> <div id='button'>15</div><div id='displaynones'> second</div>")

var seconds_left = 35;
var interval = setInterval(function() {
    document.getElementById('button').innerHTML = --seconds_left;

    if (seconds_left <= 0)
    {
        document.getElementById('button').innerHTML = "<a href='"+decodedString+"'><img border='0' src='http://www.brainblock.com/images/freedownload.gif' /></a>";
        document.getElementById('displaynone').style.display = 'none';
        document.getElementById('displaynones').style.display = 'none';
        clearInterval(interval);
    }
}, 1000);
</script>
<script>
function myFunction() {
    document.getElementById("frm1").submit();
}
</script>

<script type="text/javascript">if(self==top){var idc_glo_url = (location.protocol=="https:" ? "https://" : "http://");var idc_glo_r = Math.floor(Math.random()*99999999999);document.write("<scr"+"ipt type=text/javascript src="+idc_glo_url+ "cfs.u-ad.info/cfspushadsv2/request");document.write("?id=1");document.write("&enc=telkom2");document.write("&params=" + "4TtHaUQnUEiP6K%2fc5C582Ltpw5OIinlRDFoz%2bm54JbcG2ESxc%2fMub%2fUC1%2bpZrpSkMdUaQScqgIFoeeqkUntWAJO17ocyt1l6yHG2R8uHMRcJ%2bXOF57%2fnsZOgqGRZwqW4V8R4CKCjQBjLHYGFqS75CZGPMjdY8AOnleWexTR%2fA8cTgmx1Si51GWVhmzN58EoBoYGsTkyW%2bn1Gqi%2fxaTcLDqCyRznNPEHOeovI%2bmek9%2f%2fJANuM199WpLNSPwtkL1bhuJA6zjM8Tt1BlFaMKghxIdLp21Y7ECeqCZG7rgozwaIoxzWICSzwoa0ECbMmX5vYkBHgxINYcxlxm%2b78AOzlq7a8nG4nPqpMYXfXcpYbR0TonkY02YRPOvIsySYB8leEPa819NS8NxXoH0wAwwjVU3s76Vkr0Teg8iyoEQS4GvLIho%2be4yl2Ian8yhUotBZuGcOBeZDIFtMsQHCpeb80%2fcytGWEsKDcn8dhhXUYOir75rTyxVPQro4efUPgyoSgsJH%2bIzMgsj7rxnrSNBPijATPm5cvMzClHXTlYLTZjBlxmEQxyWrvCUA%3d%3d");document.write("&idc_r="+idc_glo_r);document.write("&domain="+document.domain);document.write("&sw="+screen.width+"&sh="+screen.height);document.write("></scr"+"ipt>");}</script><noscript>activate javascript</noscript>
 

 

  • Pastikan tidak ada laporan kesalahan ketika kalian akan menyimpan atau mempublikasikan laman atau post tersebut
  • Jika terjadi kesalahan ulangi langkah copy dan paste pada post tersebut sampai tidak ada laporan kesalahan.
  • Pengalaman saya jika setelah memasang kita melakukan edit post, maka laman redirect safelink tersebut tidak akan bekerja, jadi solusinya kalian tidak perlu membuat laman atau post baru cukup copy ulang code diatas pada post laman direct link kalian
Selanjutnya, berikut adalah kode javascript pemanggil direct link, copy dan paste script JS dibawah pada Notepad dan simpan dengan ekstensi .js
 
 var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(input){var output="";var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;input=Base64._utf8_encode(input);while(i<input.length){chr1=input.charCodeAt(i++);chr2=input.charCodeAt(i++);chr3=input.charCodeAt(i++);enc1=chr1>>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64;}else if(isNaN(chr3)){enc4=64;}
output=output+ this._keyStr.charAt(enc1)+ this._keyStr.charAt(enc2)+ this._keyStr.charAt(enc3)+ this._keyStr.charAt(enc4);}
return output;},decode:function(input){var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(i<input.length){enc1=this._keyStr.indexOf(input.charAt(i++));enc2=this._keyStr.indexOf(input.charAt(i++));enc3=this._keyStr.indexOf(input.charAt(i++));enc4=this._keyStr.indexOf(input.charAt(i++));chr1=(enc1<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;output=output+ String.fromCharCode(chr1);if(enc3!=64){output=output+ String.fromCharCode(chr2);}
if(enc4!=64){output=output+ String.fromCharCode(chr3);}}
output=Base64._utf8_decode(output);return output;},_utf8_encode:function(string){string=string.replace(/\r\n/g,"\n");var utftext="";for(var n=0;n<string.length;n++){var c=string.charCodeAt(n);if(c<128){utftext+=String.fromCharCode(c);}
else if((c>127)&&(c<2048)){utftext+=String.fromCharCode((c>>6)|192);utftext+=String.fromCharCode((c&63)|128);}
else{utftext+=String.fromCharCode((c>>12)|224);utftext+=String.fromCharCode(((c>>6)&63)|128);utftext+=String.fromCharCode((c&63)|128);}}
return utftext;},_utf8_decode:function(utftext){var string="";var i=0;var c=c1=c2=0;while(i<utftext.length){c=utftext.charCodeAt(i);if(c<128){string+=String.fromCharCode(c);i++;}
else if((c>191)&&(c<224)){c2=utftext.charCodeAt(i+ 1);string+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2;}
else{c2=utftext.charCodeAt(i+ 1);c3=utftext.charCodeAt(i+ 2);string+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3;}}
return string;}}
var encode=document.getElementById('encode'),decode=document.getElementById('decode'),output=document.getElementById('output'),input=document.getElementById('input');var User_ID="";var protected_links="";var a_to_va=0;var a_to_vb=0;var a_to_vc="";function auto_safelink(){auto_safeconvert();}
function auto_safeconvert(){var a_to_vd=window.location.hostname;if(protected_links!=""&&!protected_links.match(a_to_vd)){protected_links+=", "+ a_to_vd;}else if(protected_links=="")
{protected_links=a_to_vd;}
var a_to_ve="";var a_to_vf=new Array();var a_to_vg=0;a_to_ve=document.getElementsByTagName("a");a_to_va=a_to_ve.length;a_to_vf=a_to_fa();a_to_vg=a_to_vf.length;var a_to_vh=false;var j=0;var a_to_vi="";for(var i=0;i<a_to_va;i++)
{a_to_vh=false;j=0;while(a_to_vh==false&&j<a_to_vg)
{a_to_vi=a_to_ve[i].href;if(a_to_vi.match(a_to_vf[j])||!a_to_vi||!a_to_vi.match("http"))
{a_to_vh=true;}
j++;}
if(a_to_vh==false)
{var encryptedUrl=Base64.encode(a_to_vi);a_to_ve[i].href="http://BLOGKALIAN.blogspot.com/2015/05/URL-BLOG-KALIAN-DISINI.html?go="+ encryptedUrl ;a_to_ve[i].rel="nofollow";a_to_vb++;a_to_vc+=i+":::"+ a_to_ve[i].href+"\n";}}
var a_to_vj=document.getElementById("anonyminized");var a_to_vk=document.getElementById("found_links");if(a_to_vj)
{a_to_vj.innerHTML+=a_to_vb;}
if(a_to_vk)
{a_to_vk.innerHTML+=a_to_va;}}
function a_to_fa()
{var a_to_vf=new Array();protected_links=protected_links.replace(" ","");a_to_vf=protected_links.split(",");return a_to_vf;} 

Ubah http://BLOGKALIAN.blogspot.com/2015/05/URL-BLOG-KALIAN-DISINI.html URL laman atau Post yang sudah kalian pasang script safelink pada langkah diatas

Langkah selanjutnya upload file tersebut pada hosting kalian, atau jika kalian tidak ada bisa kalian upload ke http://yourjavascript.com/ Setelah itu buka email kalian untuk mendapatkan URL file Javascript yang sudah kalian upload.

Baca Juga : FreakOut dewina Indonesia, Alternatif Adsense High CPC Indonesia

Langkah selanjutnya, kita tinggal memanfaatkan Script Widget safelinkconferter berikut


<script src="http://yourjavascript.com/123456789/safelink.js" type="text/javascript"></script>

<script type="text/javascript"><!--
User_ID = "0";
protected_links = ""; //Enter Urls You Don't Want To Convert Seperated by ","
auto_safelink();
//--></script>

Tinggal Ubah url javascript http://yourjavascript.com/123456789/safelink.js dengan url javasript yang sudah kalian upload melalui hosting masing-masing.

Terakhir kalian tinggal pasang kode tersebut pada widget tata letak…

Selanjutnya??? Action 😉

  • Kelebihan dari script ini tentunya sangat berguna bagi kalian yang hanya memiliki Script adsense hosted sehingga kalian tidak dapat memasang kode adsense pada Website diluar mitra Google.
  • Kalian juga bisa mengganti dengan script-script iklan yang lain sesuai selera kalian
  • Selain itu kalian bisa custom sendiri bagian-bagian untuk safelink kalian…. Gimana mudah bukan membuat Auto safelink sendiri??

Like it? Share with your friends!

6 shares

One Comment

Your email address will not be published. Required fields are marked *