<b:section id='license' name='License' showaddelement='false'>
<b:widget id='HTML55' locked='true' title='License' type='HTML' version='2' visible='true'>
<b:widget-settings>
<b:widget-setting name='content'>Masukkan Lisensi Disini</b:widget-setting>
</b:widget-settings>
<b:includable id='main'>
<div id='license-code'><data:content/></div>
</b:includable>
</b:widget>
</b:section>
Then copy the html code below, it's free for you because this code is a link code with the license code that has been made.
<div id='myIdBlog'><data:blog.blogId/></div>
Make sure you hide the html code in a safe place so that irresponsible people don't steal your template.
Next, copy the jquery code below then put it in the middle or end of your javascript code and I remind you again so that the license is safer, combine the javascript code below with your javascript template code.
$(document).ready(function () {
var license = $('#license-code').text(),
myLicense = atob(license),
tpllc = $('#myIdBlog').text(),
second = 10;
console.log(myLicense);
if (myLicense == tpllc) {
return false
} else {
$('body').append('<style>body{background:#000!important;overflow:hidden}#peringatan span{font-size:50px}#peringatan{z-index:999999999;position:fixed;top:0;right:0;left:0;padding:20% 0;height:100%;text-align:center;background:rgba(248,40,40,0.97);color:#fff}}</style><div id="peringatan"><h4>Activate Templates</h4><p>Silahkan hubungi <b>www.hartomy.com</b> untuk mendapatkan lisensi Template</p><span id="aktivasi">'+second+'</span></div>');
setInterval(function () {
second <= 1 ? window.location.href = "https://www.miusm-tech.com/" : $('#aktivasi').text(--second);
}, 1e3)
}
});
which says https://www.miusm-tech.blogspot.com/ please replace it with your blog link because if the license is not installed or wrong then the blog will point to the link you wrote.
Because I am kind, I also provide the code generator that I have created for you.
Please create a new page on your blog with a free name then copy the html code and javascript code below and paste it in the edit html section.
Html code.
<div class="container all-input">
<div class="input-group mb-2" >
<div class="input-group-prepend">
<span class="input-group-text">ID Blog</span>
</div>
<input id="idBlog" type="text" value="" class="form-control focus"/>
<div class="input-group-prepend">
<button class="rounded-right btn btn-outline-info" type="button" id="generate">Generate</button>
</div>
</div>
<div class="input-group mb-2" >
<div class="input-group-prepend">
<span class="input-group-text">Licence</span>
</div>
<input readonly id="hasil" type="text" value="" class="form-control focus"/>
</div>
</div>
Javascript / jquery code
$("#generate").click(function(){
var myID = $('#idBlog').val();
var idGenerate = btoa(myID);
$('#hasil').val(idGenerate);
console.log(idGenerate);
});
That's all I can share first in this article, the code I wrote above is purely the result of my personal experience and the code above may not be 100% the same as other template developers but the license code generated is 100% exactly the same as other template developers and the level of security it has I think is solid.
Thank you for visiting, please help support this blog with some that appear on this page.