On this occasion, I will be able to share a tutorial on How to Make Safelink On The Main Blog, click 2x on the most blog without having to create a new blog, in fact, this safelink is very useful for those of you with thousands of visitors to get more profit from your ad revenue.
Now for those of you who want to form a safelink on your main blog, please follow the step-by-step instructions below:
How to Make Safelink on the main blog
What is SafeLink? SafeLink may be a term often used on a site that functions as a safety link from other sites. In short, safelink may be 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 will 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 during a download link in a file. If it’s 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 need to go to is an unsafe and risky link.
SafeLink has an anti-virus component that will 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 doesn’t 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 therefore the link has been declared safe, the download link will open automatically.
Let’s Start
STEP-1. Creating a replacement Page for Safelink
1. Attend 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.costfree.xyz/p/go.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 within 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 a mistake message appears, change the HTML display to writing view 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 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 costfree.xyz*/.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 == "static_page"'><script>/*<![CDATA[*/ var currentURL=location.href; var str = currentURL; var res = str.replace("www.costfree.xyz/p/go.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 within the script code above which is Green, and therefore the number 5 in green, determine how long the blog will display your safelink. Last. Then Copy the code below and paste it within 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.costfree.xyz/p/go.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 Green with the URL of the page we created earlier and save your theme.
6. Finally, change your blog settings to HTTPS for a way to change the HTTP or HTTPS protocol. On the blog, please search again on google.
Now that most blog safelink has been successfully created, now all active links on your blog are redirected to the safelink page that was created earlier,
if you don’t understand, please comment below, finally, I say many thanks very much for visiting hopefully this article on how to make Safelink is useful for all of you.