MASIGNASUKAMODIFv101
3634471876758277745

How to protect blogger post or page with the password

How to protect blogger post or page with the password
906 Views

How to protect blogger post or page with the password

In this article, I will tell you how you can protect your post or page with a password on the blogger. If you want to sell any content on the blogger then you can use this trick to sell any content by blogger. If you want to give anyone any kind of personal docs by blogger then you can lock the page with the password so no one can view the content of this page.
If you don't understand then please see a preview of this script click on the below preview button to see the demo of password protected page. The password of the preview page is "test".

PREVIEW


Now if you see the preview then I hope you understand what I want to tell you. So many readers of this article tell me this, not an approved version! For who tells this I tell him you can't customize this boxed because this is not run by your theme CSS it's run by the alert box of the browser. All browser has a different kind of dialogs box.

The benefit of this script

There are so many benefits to this script. So those are some highlighted features of this script:
  1. Protect page or post.
  2. Save your personal docs.
  3. No ignorable points.
  4. Many more...
Now if you read details about those features then you can see by searching on google.

How to add this script on post or page

If you want to add this password script on your blog post/page then follow all the bellow steps I am telling you:
  1. Open your post editor in the HTML view of the blogger.
  2. Now copy the below code and paste it on the below of your post/page HTML view.

  3. <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    var password = 'password'
    password=prompt('Please enter the password to enter this post:','');
    if (password != 'password') {
    location.href='URL';
    }
    // End -->
    </SCRIPT>
  4. Now open change password text with your password and add your blog homepage URL on the URL text.
Now publishes your article and see. Done.

Conclosing

Now after this code adding done don't forget me give a small thanks. You can also give your feedback on the comment section it's always opened for you. Thanks for stay with us.
Sayem Miaji

I am a web designer and developer. Sharing knowledge is my passion and web designing is my interest but it is not bigger than my interest in Islam.

î…‰ Related Post

Leave your opinion or any doubt about this article. Don't try to spam, our team reviews every comment.
:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:P
:o
-_-
(o)
[-(
:-?
(p)
:-s
(m)
8-)
:-t
:-b
b-(
:-#
=p~
$-)
(y)
(f)
x-)
(k)
(h)
(c)
cheer
(li)
(pl)