Confuse hackers by adding this script in a website. It does the following:
- Prints a cool banner into the console.
- Adds an element with a weird name at the end of the body that contains a custom text.
- Deletes the
<script>
from the page, so hackers can't find it.
Add this code at the bottom of the body
:
<script async src="https://easter-egg.hackupc.com/index.js"></script>
- Install Node.js (with
vnm
). - Clone the repo and open it.
- Run
npm install
to install the dependencies. - Code.
- Run
npm run build
to build. - To deploy, just push to
main
and Netlify will handle the rest automatically.