Blogger Jateng

What is Safelink and How to Make It

 Safelink is one of the tools commonly used to shorten and secure a link.

The existence of these tools can certainly make your links more secure and easy to remember.

Especially in the digital era like now, these tools can be easily used to make money.

However, the money generated by these tools is not much.

This not much income is because you have to share it with the owner of the web tools themselves.

Even though it's not much, it doesn't hurt to use this tool to generate additional pocket money.




What is Safelink

This term refers to certain web pages or blogs that are used to detect destination link urls.

Is the url link still safe or not from various kinds of certain malware threats.

By using this tool, users of the download url can avoid a number of detected virus threats.

If later in one of the files there is a type of data that is suspected of being dangerous, the user will immediately get a warning.

The antivirus that is used is certainly effective in preventing users from various kinds of virus threats. How to detect this virus is also fairly easy and fast.

In general, these transit tools can be categorized into two systems, namely the main blog and the transition blog tools themselves.

The main blog is a transit tool system that has so many visitors.

Meanwhile, the transit tools blog is a blog that wants to be advertised. Sources of visitors to this blog generally come from the main blog system.

In short, this system works by manipulating the url of the destination link on the main blog to the transit tools blog.

Then, on the transit tools blog you will find a link to redirect to the original destination url according to the url listed on the main blog.

Safelink Advantages

It seems that not many people know that the use of this transit tool can bring so many benefits.

Although it is not paid, this latest transit tool allows users to install Adsense ads on the site or web page.

This explains that if your blog has used Adsense, then the transit tools site can also be installed with similar ads.

Thus, indirectly you can earn twice as much as adsense itself.

Of course this can be a field of profit for you.

Disadvantages of Using Safelink

Although it has advantages for its users, this transit tool can also bring disadvantages. Using these transit tools is certainly not free.

You need to pay some money as the cost of hosting, domain and others. The use of these transit tools is also believed to be prone to being banned by Google Adsense.

The indication of being prone to being banned is none other than because by placing an ad via transit tools, it is alleged that you have violated Google's regulations.

For that, you need to consider the use of this transit tool a bit.

How to Make Safelink

Did you know that making transit tools is quite easy.

For those of you who want to make transit tools both on Blogger and WordPress, you can listen to the following information.

1. How to make blogger safelink

Immediately go to Blogger.

Create a new website on Blogger.

Create a new post and enter the HTML model.

Give the post a title.

Select the 'Settings' option.

Tap on the ‘Basic’ option.

Change the HTTPS availability setting to 'Yes'.

Tap on the 'Settings' option.

Select the 'Preferences' option.

Copy the following code.

User-agent : *


Disallow : /*?*


Disallow : /search


Allows : /


Replace your blog template with a safelink template which can be downloaded first via the following link. https://drive.google.com/file/d/1MUVeXIzNSv2lC3InKBQgU-8Dz6Zmqdyt/view.

Tap on the 'Save' option.

2. How to create a safelink in WordPress

Create and publish a new page that you want to use as a safelink.

Copy and paste the following code inside the template-specific HTML.

<script type='text/javascript'>


//<![CDATA[


var blog = document.location.hostname;


var slug = document.location.pathname;


var ctld = blog.substr(blog.lastIndexOf("."));


var currentURL=location.href;


var str = currentURL;


  var res = str.replace("http://your-website.com/safelink.html?url=", "");


$(“.Visit_Link”).hide();


function changeLink(){


var decodedString = Base64.decode(res);


window.open(decodedString,'_self')


}


function generate() {


var linkDL = document.getElementById(“download”),


     linkAL = document.getElementById(“download2”),


     btn = document.getElementById("btn"),


     notif = document.getElementById(“daplong”),


     direklink = document.getElementById(“download”).href,


     time = 4;


var text_time = document.createElement(“span”);


linkDL.parentNode.replaceChild(time_text, linkDL);


varid;


id = setInterval(function () {


 time-;


if (time < 0) {


time_text.parentNode.replaceChild(linkDL,time_text);


            clearInterval(id);


            notif.style.display = “none”;


            linkDL.style.display = “inline”;


            linkAL.style.display = “inline”;


     } else {


            time_text.innerHTML = "<h3 class='text-danger'>Link will appear in ” + time.toString() + ” Second</h3>”;


btn.style.display = “none”;


     }


}, 2000);


}

cookieOptions = {

msg: “This site uses cookies to help deliver services. By using this site, you agree to the use of cookies.”,

link: “https://www.blogger.com/go/blogspot-cookies“,

close: "Got it!",

learn: “Learn More” };

//]]>

</script>

Jangan lupa ganti kode ‘http://website-anda.com/safelink.html’ dengan link halaman yang sudah Anda buat.

Ketuk opsi ‘Simpan’.

Salin dan tempel kode berikut pada file notepad.

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://website-anda.com/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;


}

Change the notepad file to JavaScript.

Upload the JavaScript file earlier to Github.

Copy and paste your Github link and get the code right away via Rawgit.

Copy and paste the following code. Put it in the HTML template.


<center>


Ads 1


<script type=”text/javascript”>


//<![CDATA[


function changeLink() {


var e = Base64.decode(res);


window.open(e, “_self”)


}


var currentURL = location.href,


str = currentURL,


res = str.replace(“http://website-anda.com/safelink.html?url=“, “”);


document.write(‘<button target=”_self” class=”btn btn-success” style=”display: block; font-size:small” id=”download” onclick=”changeLink()”>Continue</button>’);


onload: generate();

//]]>

</script>

<script src=”URL.JS” type=”text/javascript”></script>

Ads 2

</center>

Don't forget to pay attention to the following conditions.

Place ads by replacing Ads 1 and Ads 2

Replace the url code 'http://your-website.com/safelink.html' with your safelink page.

Edit the url 'URL.JLS' with the JavaScript link that was uploaded earlier.

Tap on the 'Save' option.

Basically creating a transit tools page is not difficult. You just need to pay close attention to the terms of making the page, namely through blogger or wordpress.


The existence of this kind of transit tools can also be more profitable for the web that you manage.


Post a Comment for "What is Safelink and How to Make It"