• put your amazing slogan here!

    Password Protect Your Blogger Blog


    Well Protecting Your Blog is the Key Role to Prevent Accessing Your Blog to Spammers.So If you are a Blogger and You Would like to Make Your Blog Safe from Frauds Then Here is a Smart Way. Unfortunately Blogger Doesn't Have Any Such Native Procedure. But Here is a Simple Tweak.




    By Adding this Password,if Anyone Visits Your Blog.They Will be Simply Asked to Enter A Password prompt Dialog Box.They Have to Enter the Password So that they May Access Your Blog. if they fails to do so. They Will be Simply Redirected to Another Website Which We Have to Set For.


    So Get Ready To Protect Your Blog By  Following Below Steps:.


    Step1: Go to Blogger < Template < Edit Html < Proceed..
    Step2: Check Expand Widget Templates.


    Step3: Now Check For  </body>  Tag And Add the Below Code Above it.

    <script>
    var password = 'Your Password Here'
    password=prompt('Enter the password to enter this site:','');
    if (password != 'Password-Here') {
    location.href='Redirect-URL-Here'}
    </script>

    Now Save the Template And You're Done.So Refresh your Blog and See the changes.
    You Can Customize According to Your Wish.I Hope You Like this Post.

    0 comments:

    Post a Comment

     

    Blogger news

     

    About

    Blogroll