Header Ads

  • Breaking News

    How to Add Non Removable Credit Links in Blogger?

    MAKING YOUR JAVA SCRIPT:
    1.This JavaScript will help you protect your credits by directly redirecting to your desired page when someone removes the credits.
    2.The JavaScript is as follows and should be placed after <head>

    <script type='text/javascript'> 
    //<![CDATA[
    $(document).ready(function()
    {
    var aa=$("#mycredit").val();
    if (aa == null) {
        window.location.href = "http://YOUR-URL";
    };
     $("#mycredit").attr("href","
    http://YOUR-URL");

    });
    //]]>
    </script>

    Things to be know
    - #mycredit : This is the name of the div class which we will use in our div setup. So if anyone removes this div class they will be redirected to the link highlighted in purple.

    - http://YOUR-URL : This is the link where the page will be redirected if the credits are changed or removed.

    USING DIV STRUCTURE


    <div id='#mycredit'>
         Designed By <a href='
    http://blogger-templatees.blogspot.com/' id='#mycredit'>My title</a>
       </div>

    No comments

    Post Top Ad

    Post Bottom Ad