How to Make Safelink On The Main Blog [safelink in Blogger]

How to Make Safelink On The Main Blog [safelink in Blogger]

On this occasion I will share a tutorial on How to Make Safelink On The Main Blog, click 2x on the main blog without having to create a new blog, of course this safelink is very useful for those of you with thousands of visitors to get more profit from your ad revenue.

Now the advantage of safelink on this main blog is that you don’t need to create a new blog like the one I shared in the previous article here . the advantage of the safelink script on this main blog is that all active links on all your blog content will be immediately redirected to the safelink page which we will create later, this main Safelink blog also has the advantage of reducing your blog’s Bounce Rate, reducing site referrals, increasing your pageview etc.

Now for those of you who want to make a safelink on your main blog, please follow the step by step instructions below:



How to Make Safelink on the main blog [safelink in Blogger]

What is SafeLink?

SafeLink is a term often used on a site that functions as a safety link from other sites. In short, safelink is a page on a website or blog that functions as a detector for the url or link that is going to be safe or not from various kinds of internet crimes such as viruses or malware.

Obviously safelink will work by protecting download site visitors against download links that may contain various kinds of viruses and malware that are harmful to site visitors.

Safelink will prevent the spread of viruses and malware that are linked in a download link in a file. If it is proven that a download link is inserted with some kind of virus or malware, the Safelink site will automatically warn their users that the download link they want to go to is an unsafe and risky link.

SafeLink has an anti-virus component that can detect malicious files inserted in a download link so that your visitors can avoid virus or malware crimes that are allegedly damaging to users’ devices and data.

In addition, it does not take much time to be on the safelink site because it works only as a download link scanner. If a visitor to your site has pressed the visit link and the link has been declared safe, the download link will open automatically.

Let’s Start

STEP-1. Creating a New Page.

1. Go to the Blog

2. Select Page Menu => Create New Page

3.Create a page title (it’s up to you)

4. Change Display Settings Write To HTML Display Then Copy the code below:

<div class='separator-text' style='text-align:center'>
<div class='ads-top'><!-- Fill in your Adsense Code --></div>
<a class='button1' href='#golink'>Klik Disini Sayang</a></div>
<div class='separator-text'><!-- Write Your Article Content Here --></div>
<div id='golink' class='separator' style='text-align:center'>
<div id='ads-left' class='ads-left'>
<!-- Fill in your Adsense Code --></div>
<div class='safelink' dir='ltr' trbidi='on'>
<div>
<span id='daplong' class='button1'>Please Wait...</span></div>
<script>var currentURL=location.href; var str = currentURL; var res = str.replace("www.techpk.co/p/safelink.html?url=", ""); document.write('<button id="download" class="visit-link button1" onclick="changeLink();" style="display:none;">Menuju Link</button>')</script></div>
<div id='ads-right' class='ads-right'><!-- Fill in your Adsense Code --></div>
</div>
<div class='clear'>
</div>

5. Place Your Adsense Ads In the script code above and write your article for a page that will later become a portal in directing all the links on your content.

6. Publish your page, if an error message appears, change the HTML display to writing view and then publish it again.

7. Copy the link of the page that was created earlier, then edit the page that was created again with HTML display and enter the link that has been copied into the sign that I reded above, then publish it again

STEP-2. Adding CSS And Javascript Safelink

1. Open Theme => Edit HTML => CTRL + F => Find This Code ]]> </ b: skin>

2. Then Copy the code below right above the code ]]> </ b: skin>

/* Safelink techpk.co */
.button1{display: inline-block;padding: 6px 20px;margin: 15px 0 10px 0;border: 1px solid #ddd;font-size: 13px;color: #414141;border-radius: 30px;cursor: pointer;transition: all 0.3s ease}
.button1:hover{background-color: #EA6D23;border-color: #EA6D23;color: #fff}
.ads-top{padding: 5px 0 15px 0;text-align: center}
.ads-left,.ads-right{display: inline-block;float: left;margin: 5px 15px 0 0}
.ads-right{float: right;margin: 5px 0 0 15px}
.visit-link,#daplong{margin-right: 0;padding: 7px 30px;line-height: 25px;font-family: Lato, sans-serif;transition: all 0.3s ease-in-out}
.visit-link{padding: 7px 50px}
#HTML99,#HTML99 .widget-content{border: 0!important;margin: 0!important;padding: 0!important}
/* Responsive */
@media screen and (max-width: 768px){.ads-left,.ads-right{display: block;float: none;margin: 5px 0 0;text-align: center}}

3. Then press CTRL + F => Find This Code </head> or & lt; / head & gt; then copy the code below right above the code.

<b:if cond='data:blog.pageType == &quot;static_page&quot;'>

<script>/*<![CDATA[*/ var currentURL=location.href; var str = currentURL; var res = str.replace("//www.techpk.co/p/safelink.html?url=", ""); $(".visit-link").hide(); function changeLink(){var decodedString = Base64.decode(res); window.open(decodedString,'_blank')} function generate() {var linkDL = document.getElementById("download"), btn = document.getElementById("btn"), notif = document.getElementById("daplong"), direklink = document.getElementById("download").href, time = 5; var text_time = document.createElement("span"); linkDL.parentNode.replaceChild(teks_waktu, linkDL); var id; id = setInterval(function () { time--; if (time < 0) { teks_waktu.parentNode.replaceChild(linkDL, teks_waktu); clearInterval(id); notif.style.display = "none"; linkDL.style.display = "inline-block"; } else { teks_waktu.innerHTML = "The link will appear in " + waktu.toString() + " Second"; btn.style.display = "none";}}, 1000);} /*]]>*/</script>

<script>/*<![CDATA[*/ var uri = window.location.toString(); if (uri.indexOf("%3D","%3D") > 0) { var clean_uri = uri.substring(0, uri.indexOf("%3D")); window.history.replaceState({}, document.title, clean_uri);} var uri = window.location.toString(); if (uri.indexOf("%3D%3D","%3D%3D") > 0) { var clean_uri = uri.substring(0, uri.indexOf("%3D%3D")); window.history.replaceState({}, document.title, clean_uri);} var uri = window.location.toString(); if (uri.indexOf("&m=1","&m=1") > 0) { var clean_uri = uri.substring(0, uri.indexOf("&m=1")); window.history.replaceState({}, document.title, clean_uri); } var uri = window.location.toString(); if (uri.indexOf("?m=1","?m=1") > 0) { var clean_uri = uri.substring(0, uri.indexOf("?m=1")); window.history.replaceState({}, document.title, clean_uri);}; var protocol=window.location.protocol.replace(/\:/g,''); if(protocol=='http'){ var url=window.location.href.replace('http','https'); window.location.replace(url);} /*]]>*/</script>

</b:if>

4. Enter the URL of the page that was created in the script code above which is red, and the number 5 in green, determine how long the blog will display your safelink.

Last. Then Copy the code below and paste it in the code above. </body>

<b:if cond='data:view.isSingleItem'>

<script>/*<![CDATA[*/ 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(/rn/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="https://www.techpk.co/p/safelink.html?url="+ 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;} /*]]>*/</script>

      <script>/*<![CDATA[*/ protected_links = "facebook.com,fb.me,instagram.com,plus.google.com,twitter.com";auto_safelink(); /*]]>*/</script> </b:if>

5. Change the URL above which is Yellow with the URL of the page we created earlier and save your theme.

6. Finally, change your blog settings to HTTPS for how to change the HTTP or HTTPS protocol. On the blog, please search again on google.

Now the main blog safelink has been successfully created, now all active links on your blog have been redirected to the safelink page that was created earlier,

if you don’t understand, please comment below, finally I say thank you very much for visiting hopefully this article on how to make Safelink is useful for all of you.

8 thoughts on “How to Make Safelink On The Main Blog [safelink in Blogger]”

  1. You may have made a mistake,
    You can check this safelink is working on my website،
    It is also working on many other blogs

Comments are closed.