Example extension (add-on) of Pomodoro Timer
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.
extension
tests
.editorconfig
.eslintrc.js
.gitignore
.travis.yml
README.md
package-lock.json
package.json
testem.json

README.md

WebExtension Pomodoro Timer Example

Build Status Greenkeeper badge

I'm waiting for your PR to make this look nicer. :)

What you can learn from this

  • How to create WebExtension for both Chrome and Firefox
  • Add a button on browser's toolbar
  • Popup page that is opened from the toolbar button
  • Badge text on the toolbar button
  • Keep scripts working in background
  • Let popup script run background script
  • Send messages from background to popup
  • Replace popup icon with existing PNG file
  • Replace popup icon with Canvas image created by script
  • Render progress chart using Canvas
  • Open settings page
  • Settings page
  • Remember user preferences
  • Save to and load from storage
  • Notification
  • Handle clicking on notifications
  • Play sounds
  • Tests for primitive scripts using Mocha and Test'em
  • Run tests using Travis-CI whenever you pushed
  • Keep dependencies fresh using Greenkeeper
  • Lint scripts using ESLint
  • Add ESLint settings only for test scripts

License

  • MIT

Contact