Ads are pain !! But this is only way to manage server cost. Join Group!

How to Create a Redirect Template When Deleting Credits with Base64

Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated

 

This method protects the credit link template by automatically redirecting it to our website when someone deletes, replaces, or changes the copyright in the copyright section, even when the </div> wrapper is removed altogether.

For those of you who often share your own Premium Templates, you should use this method. So that users of your Premium Template cannot be deleted, modified, or replaced.

The method I share this time uses base64 and is a simple method where we hide the code so that Premium Template users might be mistaken as to which code has the redirect effect. In fact, Base64 can also be used to hide CSS, JavaScript, HTML, and Image code; JPG, GIF, PNG, etc. and XML Images.


Using the script that I shared this time, maybe it can help and make the template you share safe. But you also have to be smart in hiding this code, so that template users can't find out and it can't be deleted and replaced via Java Script.



How to Create a Redirect Template When Deleting Credits with Base64


First step : 

  • 1. Open Blogger - Then log in
  • 2. Dashboard - Template
  • 3. Edit HTML

How to Create a Redirect Template When Deleting Credits in a Simple Way

Creation Process: 

  • 1. Make sure you create the Footer Structure first.
  • 2. Copy&Paste the following code, and place it under your ©CopyRight.
<my-copyright id="copyright-id">  
            <a id="copyright-link" href="http://www.jirale.com/">Jirale Blog</a>
</my-copyright>
  • 3. Please replace the URL address of my blog with the URL address of your blog.
  • 4. Find the code </body>
  • 5. Copy&Paste the following code, and place it above the code </body>
<script type='text/javascript'>
$(document).ready(function(){
            //Let's first setup the redirect
        function redirect(){
            window.location.assign('http://www.jirale.com/');
        }
            //which things we got to check
        function check(){
            if($('#copyright-id').length === 0){
                    redirect();
                }
                else if($('#copyright-link').length === 0){
                    redirect();
                }
                if($('my-copyright').length === 0){
                    redirect();
                }
                else if($('#copyright-link').length === 0){
                    redirect();
                }
                else if($("#copyright-link").attr("href") !== "http://www.jirale.com/"){
                    redirect();
                }
                else if($('#copyright-link').text() !== "Jirale Blog"){
                    redirect();
                } 
            }
        //execute the function on page load
        check();
        //excute the function at the intervals of 5 seconds.
        setInterval(function () {check()}, 5000);
        });
</script>
6. Save Template.

Second Method:  How to Create a Redirect Template When Deleting Credits with Base64


  • 1. Visit the website:  https://ostermiller.org/calc/encode.html -  Click Here!
If you have installed the code above just above </body>, please copy & paste the code into Notepad, then delete the code as below.
  • 2. Then delete the following code.
<script type='text/javascript'>

</script>
  • 3. So the code looks like this:
$(document).ready(function(){
            //Let's first setup the redirect
        function redirect(){
            window.location.assign('http://www.jirale.com/');
        }
            //which things we got to check
        function check(){
            if($('#copyright-id').length === 0){
                    redirect();
                }
                else if($('#copyright-link').length === 0){
                    redirect();
                }
                if($('my-copyright').length === 0){
                    redirect();
                }
                else if($('#copyright-link').length === 0){
                    redirect();
                }
                else if($("#copyright-link").attr("href") !== "http://www.jirale.com/"){
                    redirect();
                }
                else if($('#copyright-link').text() !== "Jirale Blog"){
                    redirect();
                } 
            }
        //execute the function on page load
        check();
        //excute the function at the intervals of 5 seconds.
        setInterval(function () {check()}, 5000);
        });

Please replace the URL of my blog address with the URL of your blog address.

  • 4. Copy&paste the code that has been removed from the  <script type='text/javascript'> and </script> parts.
  • 5. Then go to the website:  https://ostermiller.org/calc/encode.html - Click Here!

Look at the following image!


  • 6. Then you press the Encode button in the Base64 section 
  • 7. So it looks like this:

Look at the following image!



  • 8. Save the code in base64 into notepad.
  • 9. Then copy all the code in Notepad, then combine the following code.
<script type="text/javascript">
function md-blogger(js){
var xdx = document.createElement("script");
xdx.src = "data:text/javascript;base64,"+js;
xdx.type = "text/javascript";
document.head = document.head || document.getElementsByTagName('head')[0];
document.head.appendChild(xdx);
}md-blogger("Copy&paste the previous base64 code here!")
</script>

Copy&paste the base64 code that was here! : Please replace it with the code already in base64, which is in Notepad earlier.

So it becomes like this:
<script type="text/javascript">
function md-blogger(js){
var xdx = document.createElement("script");
xdx.src = "data:text/javascript;base64,"+js;
xdx.type = "text/javascript";
document.head = document.head || document.getElementsByTagName('head')[0];
document.head.appendChild(xdx);
}md-blogger("JChkb2N1bWVudCkucmVhZHkoZnVuY3Rpb24oKXsKICAgICAgICAgICAgLy9MZXQncyBmaXJzdCBz
ZXR1cCB0aGUgcmVkaXJlY3QKICAgICAgICBmdW5jdGlvbiByZWRpcmVjdCgpewogICAgICAgICAg
ICB3aW5kb3cubG9jYXRpb24uYXNzaWduKCdodHRwOi8vd3d3LmppcmFsZS5jb20vJyk7CiAgICAg
ICAgfQogICAgICAgICAgICAvL3doaWNoIHRoaW5ncyB3ZSBnb3QgdG8gY2hlY2sKICAgICAgICBm
dW5jdGlvbiBjaGVjaygpewogICAgICAgICAgICBpZigkKCcjY29weXJpZ2h0LWlkJykubGVuZ3Ro
ID09PSAwKXsKICAgICAgICAgICAgICAgICAgICByZWRpcmVjdCgpOwogICAgICAgICAgICAgICAg
fQogICAgICAgICAgICAgICAgZWxzZSBpZigkKCcjY29weXJpZ2h0LWxpbmsnKS5sZW5ndGggPT09
IDApewogICAgICAgICAgICAgICAgICAgIHJlZGlyZWN0KCk7CiAgICAgICAgICAgICAgICB9CiAg
ICAgICAgICAgICAgICBpZigkKCdteS1jb3B5cmlnaHQnKS5sZW5ndGggPT09IDApewogICAgICAg
ICAgICAgICAgICAgIHJlZGlyZWN0KCk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAg
ICBlbHNlIGlmKCQoJyNjb3B5cmlnaHQtbGluaycpLmxlbmd0aCA9PT0gMCl7CiAgICAgICAgICAg
ICAgICAgICAgcmVkaXJlY3QoKTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIGVs
c2UgaWYoJCgiI2NvcHlyaWdodC1saW5rIikuYXR0cigiaHJlZiIpICE9PSAiaHR0cDovL3d3dy5q
aXJhbGUuY29tLyIpewogICAgICAgICAgICAgICAgICAgIHJlZGlyZWN0KCk7CiAgICAgICAgICAg
ICAgICB9CiAgICAgICAgICAgICAgICBlbHNlIGlmKCQoJyNjb3B5cmlnaHQtbGluaycpLnRleHQo
KSAhPT0gIkppcmFsZSBCbG9nIil7CiAgICAgICAgICAgICAgICAgICAgcmVkaXJlY3QoKTsKICAg
ICAgICAgICAgICAgIH0gCiAgICAgICAgICAgIH0KICAgICAgICAvL2V4ZWN1dGUgdGhlIGZ1bmN0
aW9uIG9uIHBhZ2UgbG9hZAogICAgICAgIGNoZWNrKCk7CiAgICAgICAgLy9leGN1dGUgdGhlIGZ1
bmN0aW9uIGF0IHRoZSBpbnRlcnZhbHMgb2YgNSBzZWNvbmRzLgogICAgICAgIHNldEludGVydmFs
KGZ1bmN0aW9uICgpIHtjaGVjaygpfSwgNTAwMCk7CiAgICAgICAgfSk7")
</script>

  • 10. Find the code </body>
  • 11. Copy & paste the code which has been combined with the base64 code just above the code </body>
  • 12. Save the template!

Telegram

CONCLUSION

In this article, I shared with you How to Create a Redirect Template When Deleting Credits with Base64. I hope you have liked It. Please do share it with your friends and follow our blog for more.

If you face any problems in Demo, Download or have any questions so feel free to ask me in comments section or join our Telegram Channel to get the lastest posts updates daily.

Our All Posts Are Protected By DMCA. So Don't Try To Copy Our Posts And Reproduction In Any Way Is Strictly Prohibited! Or else Legal Actions Will Be Taken.



©Copyright: Jirale.com™
Jirale offers expert insights on technology, gadgets, software, and more. Explore our articles to stay ahead in the fast-paced world of tech.

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.