A browser extension that adds a movable face image to web pages. The face follows your mouse cursor and can be toggled between moving and static modes.
- Adds a customizable face image to any webpage
- Face follows mouse cursor when in "moving" mode
- Click the face to toggle between moving/static modes
- Configurable through popup settings:
- Toggle face visibility
- Adjust face size
- Set custom image URL
- Works on both Chrome and Firefox
- Clone the repository:
git clone https://github.com/oshimaryo/face.git
cd face- Install dependencies:
npm install- Build the extension:
npm run build- Load the extension:
- Firefox: Navigate to
about:debugging→ "This Firefox" → "Load Temporary Add-on" → Selectdist/manifest.json - Chrome: Navigate to
chrome://extensions→ Enable "Developer mode" → "Load unpacked" → Select thedistfolder
- Firefox: Navigate to
npm run dev- Start development server with hot reloadnpm run build- Build for productionnpm run preview- Preview production build
face/
├── src/
│ ├── manifest.json # Extension manifest (v3)
│ ├── content-scripts/ # Content scripts
│ │ └── face.js # Main face logic
│ ├── popup/ # Extension popup
│ │ ├── settings.html
│ │ ├── settings.js
│ │ └── settings.css
│ └── icons/ # Extension icons
├── public/ # Static assets
├── dist/ # Build output
├── vite.config.js # Vite configuration
└── package.json
The extension supports both Chrome and Firefox through Manifest V3.
This project is open source and available under the MIT License.