/easter-egg-web

🐣 Confuse hackers by adding this script in a website

Primary LanguageTypeScriptMIT LicenseMIT

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.