Skip to content

🐣 Confuse hackers by adding this script in a website

License

Notifications You must be signed in to change notification settings

hackupc/easter-egg-web

Repository files navigation

HackUPC easter egg script for webs

Netlify Status

Confuse hackers by adding this script in a website. It does the following:

  1. Prints a cool banner into the console.
  2. Adds an element with a weird name at the end of the body that contains a custom text.
  3. Deletes the <script> from the page, so hackers can't find it.

Usage

Add this code at the bottom of the body:

<script async src="https://easter-egg.hackupc.com/index.js"></script>

Develop

  1. Install Node.js (with vnm).
  2. Clone the repo and open it.
  3. Run npm install to install the dependencies.
  4. Code.
  5. Run npm run build to build.
  6. To deploy, just push to main and Netlify will handle the rest automatically.

About

🐣 Confuse hackers by adding this script in a website

Resources

License

Stars

Watchers

Forks