Skip to content
Proyectos

Acerca de

Look Away to Pause Youtube - Experimental Chrome Extension

IA y aprendizaje automático

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
Recopilando historial
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Face Pause
FacePause

Look Away to Pause Youtube - Experimental Chrome Extension

FacePause uses the experimental native FaceDetector API. Its availability depends on the browser and operating system; enabling a flag does not guarantee support. Unsupported detection stops the webcam and displays a message. See Chrome’s Shape Detection API documentation.


▶️ Watch a video demo

How to install

Build from source using the instructions below, then load build/chrome as an unpacked extension. The historical 0.1 release uses Manifest V2 and does not include these changes.

Notice

  • 🙀 I don’t trust my webcam and I have it covered, see this more as an experiment of Chromes new technology, than a product you'd use every day.

  • 🏴 To get the extension to work you’ll need to enable Chrome Experimental Features here:
    chrome://flags#enable-experimental-web-platform-features

  • 💡If you’re in a dark setting it will probably be a bit buggy, as FaceDetector API is still not great in bad light.

Development

Installation

  1. Clone the repository git clone https://github.com/Hemmingsson/FacePause
  2. Use Node.js 22 or later and run npm ci
  3. Run npm run build
Load the extension in Chrome
  1. Open Chrome browser and navigate to chrome://extensions
  2. Select "Developer Mode" and then click "Load unpacked extension..."
  3. From the file browser, choose to FacePause/build/chrome

Developing

The following task can be used when you want to start developing the extension

  • npm run chrome-watch

FacePause - Look away to pause YouTube videos | Product Hunt Embed

Build checks

npm run build creates Chrome Manifest V3 and Firefox Manifest V2 builds. Run npm test after building to check bundled assets and webcam failure handling. npm run dist creates ZIP files in dist/.

Explorar proyectos relacionados

Cargando…