Skip to content
Evil Traps for Firefox
HTML CSS JavaScript Dockerfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
.vscode
src
.dockerignore
.eslintignore
.eslintrc.js
.gitignore
Dockerfile
LICENSE
README.md
docker-compose.yml
package-lock.json
package.json

README.md

Evil Traps for Firefox 🦊

A collection of web experiments that slow / crash the browser or annoy, spam or phish the user by exploiting bugs.

Setup

Node v12 or higher recommended.

Install dependencies:

npm install

Deploy

Install production dependencies

npm ci --only=production

Start the server with:

npm start

If you want to change the host / port the web server listens on simply pass the environment variables HOST, PORT.

Example in bash:

HOST=0.0.0.0 PORT=80 npm start

Development

To run the app in development use

npm run dev

This will automatically compile and run the application and restart it if you make changes to the code.

Add a new Evil Trap

To add a new evil trap to the app, create a new folder in src/traps. It should contain an index.js file exporting an EvilTrap instance. Once created it should appear in the main navigation.

See the HelloWorld trap for an example.

You can’t perform that action at this time.