Look Away to Pause Youtube - Experimental Chrome Extension
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
resources new icons May 21, 2018
src refactoring May 26, 2018
.babelrc initial commit May 21, 2018
.editorconfig initial commit May 21, 2018
.gitignore initial commit May 21, 2018
LICENSE.txt initial commit May 21, 2018
README.md Update README.md Aug 11, 2018
gulpfile.babel.js initial commit May 21, 2018
manifest.json new icons May 21, 2018
package-lock.json initial commit May 21, 2018
package.json initial commit May 21, 2018

README.md

Face Pause
FacePause

Look Away to Pause Youtube - Experimental Chrome Extension

Chrome (v56+) has a new FaceDetector API which basically lets you detect faces in images easily, so what if we could pause Youtube when you look away or go for a sandwich 🥪?


▶️ Watch a video demo

How to install

You can install FacePause from the Chrome web store



Or download the Zip from this release, unzip it and load it as an unpacked extension in Chrome.

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/Face-Pause
  2. Run npm install
  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 Face-Pause/build/chrome

Developing

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

  • npm run chrome-watch