Git Product home page Git Product logo

bookie-firefox's Introduction

Bookie-Firefox

The goal is to setup an extension that enables using Bookie with Firefox.

Current development release

You can test the current build by heading to http://files.bmark.us/bookie.xpi. Note that this is alpha quality and most functions don't work. Currently you get a widget in the add-on bar and can save a bookmark once you've set your preferences.

We've started to submit the extension to Mozilla for review at:

https://addons.mozilla.org/en-US/firefox/addon/bookie/

Setting up

Once you check out from git, you'll need to get the external dependencies, the firefox sdk and the Bookie static library collection. You can get both of these using the Makefile.

$ make all

If you want to test against update versions you can fetch the latest by cleaning and making again.

$ make clean
$ make all

Activating the sdk

Once the sdk is installed, you have to activate that virtualenv. Right now it's a bit of a pita, you have to cd to the sdk dir, activate, and then back out again.

cd sdk
source bin/activate
cd ../

Running the tests

The tests require that the sdk be activated. You can run them with the make test command.

Testing the extension

You can load a new Firefox window with the extension loaded with make run. This will use the sdk to launch the Firefox instance and can be used for dev and qa work.

Alternatively, you can run cfx xpi after navigating to the src folder like so.

cd src
cfx xpi

Open the Firefox browser and point the url to about:config. Add a new key with name : "extensions.sdk.console.logLevel" and key: "info" to set the required logging level.

Hit Ctrl/Cmd + Shift + A to open the Add-On Manager. Install the extension manually by clicking the gear icon and selecting "Install Add-on from File..." You may access the Add-On Manager using Tools -> Add-ons.

After the extension has been installed, hit Ctrl/Cmd + Shift + J to bring up the Browser Console that houses all the log messages. You may access the Browser Console using Tools -> Web Developer -> Browser Console.

Known limitations/issues

  • Cannot ping/validate your api preferences since we're using a simple-pref modules for preferences

bookie-firefox's People

Contributors

mitechie avatar rahulravindren avatar sambuddhabasu avatar suryatech avatar waf avatar widox avatar

Watchers

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