Manga-Man / lock.js

Embed a script to your website to protect it with a password...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lock.js

Embed a script to your website to protect it with a password...

Download

git clone https://github.com/Manga-Man/lock.js.git 


❓How to embed?
Replace the YOUR_PASSWORD_HERE with your password and your done
<script src="https://manga-man.github.io/lock.js/Script.js"></script>
<script>setpwd("YOUR_PASSWORD_HERE")</script>
<noscript>
    <style type="text/css">
        .pagecontainer {display:none;}
    </style>
    <div class="noscriptmsg">
    You don't have javascript enabled.  Good luck with that.
    </div>
</noscript>
 
 <!-- made by manga man [https://github.com/Manga-Man/lock.js/] -->

Demo: https://manga-man.github.io/lock.js/index.html
Password for Demo: 1234

🌟Pls show your support by giving this repository a star🌟

About

Embed a script to your website to protect it with a password...

License:MIT License


Languages

Language:JavaScript 100.0%