| Forums > Tips & Tricks > "BLOG PASSWORD PROTECTION (read this.)" (45 replies)
|
|
|
[script language="JavaScript" type="text/javascript"]
[!--hide
var password;
var pass1="YOURPASSWORDHERE";
password=prompt('Enter your password in order to view this page!',' ');
if (password==pass1)
alert('YAY you got it right! Click OK to enter!');
else
{
window.location="http://google.com/";
}
//--]
[/script]
Edit the bolded words. Change the [square brackets] to the sharp brackets.
THIS IS VERY EASY TO BYPASS. There is another password script which is more difficult for people to 'hack' pass, but you can make do with this.
|
|
|
| |
|
| |
|
| |
If you don\'t want people to see your source code: get a redirection service (or whatever it\'s called)
like this one at unonic.com
let\'s say your chosen url is: abc.net.tf, which redirects to abc.blogspot.com
when you open the source code, it will be the source code of abc.net.tf, which is some code from unonic.com and contains none of your actual blogskin codes (and passwords).
the downside is there\'s an ad bar on your blog and a temporary page shown before your visitors reach your blog.
hope this helps.
|
| |
| |
|
| |
If you don\'t want people to see your source code: get a redirection service (or whatever it\'s called)
like this one at unonic.com
let\'s say your chosen url is: abc.net.tf, which redirects to abc.blogspot.com
when you open the source code, it will be the source code of abc.net.tf, which is some code from unonic.com and contains none of your actual blogskin codes (and passwords).
the downside is there\'s an ad bar on your blog and a temporary page shown before your visitors reach your blog.
hope this helps.
|
| |
| |
|
| |
plz help me guyz!
where must we put the script?
the body?
script?
javascript?
help mie!!!
|
| |
| |
|
| |
yo. yeah i think its a good script.. even if people can view source. lols
|
| |
| |
|
| |
yay!! tks, it's useful((:
|
|
|
| Subscribe To This Thread: RSS 2.0 or Atom (?) |
| This thread has been locked, and no new replies can be posted. |