Skip to content
プロジェクト

概要

Look Away to Pause Youtube - Experimental Chrome Extension

AI・機械学習

この数値の測り方

計測したスター増加

24時間
0
7日間
履歴を収集中
15日間
履歴を収集中
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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/.

関連プロジェクトを探す

読み込み中…