Giter VIP home page Giter VIP logo

browser-extension's Introduction

Clockify extension for Chrome and Firefox

Add Clockify one-click time tracking button to popular web tools.

About Clockify โ†’ List of integrations โ†’

Adding integration

Want to create an integration or improve an existing one? Awesome! Just fork the repo, make your changes, and send us a pull request.

Adding your tool is super easy and quick. You need basic web programming skills (HTML, Javascript, Git) and can be done in a couple of hours.

Something needs fixing?

Create an issue here on Github.

Our team will take a look once we get the chance, but that may take a few weeks or more (depending on our workload).

If you need the fix quicker, feel free to update the integration yourself and send us a pull request. We typically take care of them within a few days, meaning your fix can sometimes go live within the same week.

Setup

  1. Make sure you have Node, NPM, Ruby, and Compass installed on your system
  2. Clone the repository git clone [email protected]:clockify/browser-extension.git
  3. Run npm install

Loading and testing

Chrome extension

  1. Build Chrome extension by running npm run compile.dev.chrome
  2. Navigate to chrome://extensions/
  3. Enable "Developer mode" (located in the top right corner)
  4. Click "Load unpacked" and select the www/chrome.dev/ folder that you've built

Firefox extension

  1. Build Firefox add-on by running npm run compile.dev.firefox
  2. Navigate to about:debugging
  3. Click "Load Temporary Add-on"
  4. Select the www/firefox.dev/manifest.json file

For use compiled firefox addon you need:

  1. Go to www/firefox.dev and compress to zip
  2. Change name of compressed file to *.xpi
  3. Go to about:config from firefox
  4. Type xpinstall.signatures.required and chenge to false
  5. Go to about:addons and click Install addons from file, choose file *.xpi

Adding a new tool

Add the url of the new tool in /src/integrations/integrations.json. Then, create a /src/integrations/myapp.js file. It in, define where the button appears and from which element it needs to pick up the description field.

When the extension recognizes that you're on that url, it will load the necessary script.

If you need an example, you can see how Trello is implemented.

Use createButton() so both the icon and "Start timer" is displayed. If there's not enough space, you can use createSmallButton (so only the icon is displayed).

Before sending us a pull request, make sure you test it in both Chrome and Firefox.

browser-extension's People

Contributors

cedomirm1990 avatar aleksandar-olic avatar ivanmijatovic89 avatar mrezzamoradi avatar ritchiefarr avatar gheithen avatar bcalik avatar caioportela avatar edmargomes avatar frankm-charter avatar frozen-byte avatar grantlucas avatar jperdochqu avatar zerstoren avatar mariann03 avatar mitchcapper avatar devmediatree avatar rasperepodvipodvert avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.