Tutorial : Hide or encrypt posts in Blogger
If you have a blog in Blogger, you’ll realize that it does not have the option to password protect your posts like WordPress does. However, there is a way around it, thanks to Vincent which uses Javascript to encrypt and decrypt the text. Here’s a step by step tutorial (complete with pics. YEY!)
First, you hv to edit your blogger template. Go to Layout >> Edit HTML and find </head>. If you can’t find it, mark the box “Expand Widget Templates”. Then paste this code BEFORE the </head>
Next, you need to encrypt ur post and put it in your post. Go to this page, insert your desired key (which will act as the password) and also the text that you want to keep hidden. Press the [Encrypt] button and copy the encrypted text in the red/pink box.
Choose a unique_name and paste the text you copied from the pink/red box into Paste encrypted text here. Make sure the unique_name is same for both lines of the code below.
<a href=”javascript: Decrypt_text(‘unique_name‘, ‘Paste encrypted text here‘);”>Show encrypted text</a>
<div id=”unique_name”></div>
~~~~~~
Your post will now look like this:
I hope this helps you a lot!
6 Comments
Khan_z
Nice Post..
Vincent
Just to let you know, I just updated the JavaScript Encryption stuff (also changed the website). It’s now a lot faster and simpler to set-up. Check it out here:
http://www.vincentcheung.ca/jsencryption/
Nat
Hi,
I actually used ur method.
It works for it appears show the encrypted text.
but when i click on that, nothing shows.
it doesnt show like ur screenshots does.
help!
xonetzz
hi there, I’ve done the steps shown but the pop out box doesn’t appear when I clicked on the ‘show encrypted text ‘
can you help ? thanks
Naomi
Hi, tried that method, but what if I need to post pictures? Any way to that please?
Thanks so much!
Jennifer
I love this feature.
When I tried, the key that i use turns out to be invalid. Any advice please?