README.md

December 5, 2022 ยท View on GitHub

Password Protect Your Website!

Description

Password Protect your Website for all javascript browsers with only 1 line of code!

More Info

Submitted On
ByFlorian Robert Austin
LevelBeginner
User Rating3.2 (29 globes from 9 users)
Compatibility
CategorySecurity
WorldJava
Archive File

Source Code

Just create an html file with JUST this code:

<script>window.location=eval("window.location='"+prompt("Enter in your password","")+".htm'");</script>

That's it! Call it index.htm and replace your old index's name with the password(.htm)

example:
password: candyegg
old index: candyegg.htm

-Phlo2k(@hotmail.com)