Code Monkey home page Code Monkey logo

tab-extensions's Introduction

Tab for a Cause Browser Extensions

Getting Started

  • Install Yarn
  • Clone this repository
  • At the root of the repository, run yarn

Developing

Chrome

  • yarn run chromium:develop
  • At chrome://extensions/, check the "Developer mode" box and load the unpacked extension from the repository's build/chromium/ directory.
  • The extension will re-build on file change but still requires manually reloading the extension in Chrome.

Firefox

  • yarn run firefox:develop
  • This opens an instance of Firefox with the extension installed. It will hot reload on changes.

Building

All Browsers

yarn run build

Chrome

yarn run chromium:build

Firefox

yarn run firefox:build

Note: we maintain two Firefox extensions: one that is listed in the Mozilla Add-ons Store and one that is self-hosted for download from our web page. This builds both. The extensions only differ in some manifest.json entries; see manifest.addon-store-overrides.json and manifest.self-hosted-overrides.json. We build the final manifest.json files in the Firefox build script.

Testing

yarn test

Releasing to Firefox Add-ons Store

We need to provide source code for review (see docs). To do so:

  1. Download this repository as a .zip file
  2. In the Add-ons Developer Hub, upload the .zip file as "Source code" when releasing a new version
  3. Paste the following instructions for the reviewer to build from source
Instructions for the reviewer to build from source:
1. Go to https://github.com/gladly-team/tab-extensions, click "Clone or download", and click "Download ZIP".
2. Unzip the source code file and navigate to the root of the source code directory.
3. Install Yarn (https://yarnpkg.com/en/).
4. Run `yarn` to install dependencies.
5. Run `yarn run firefox:build`. The built extension will be in `./build/firefox/`.

tab-extensions's People

Contributors

kmjennison avatar

Watchers

 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.