Skip to content
프로젝트

소개

Look Away to Pause Youtube - Experimental Chrome Extension

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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

관련 프로젝트 살펴보기

불러오는 중…