firefox-line

Rewrite of Mozilla Labs Prospector Oneliner 2 with Addons SDK

GPL-2.0 License

Stars
4

Line, Firefox Addon/Extension

Line is a rewrite of the Mozilla Labs: Prospector - oneLiner addon using the latest API.

Screenshots

Here are some screenshots from the addon:

Basic functionality

Urlbar is focused, it has grown

Using the search button and autodetecting a search engine

Options and urlbar to the right

Features

  • Different modes of how the url-bar behaves when you focus it or not:
    • Fixed: the url-bar's width does not change.
    • Sliding: the url-bar's width behaves as in the original oneLiner, growing when focused.
    • Flexible: the url-bar's width takes as much space as possible, when tabs are added the url-bar's available space reduces.
  • Search button: Replicates the search button behavior of the search-bar including search engines properly unlike oneLiner.
  • Customizable width of url-bar for when focused and when not focused.
  • Customizable min/max-width of tabs.
  • Customizable: Identity label can retract/slide-back when url-bar is focused and then return to normal when it is not. This provides more space to write the URL. An icon is still left so that you can see if it is a secure connection or not. You can disable this feature if you like.
  • Opt-in Drag button for users that find it difficult to drag the window due to
    the small spaces that are left, when many tabs are open, for dragging the window.

Fixes

Compared to oneLiner it fixes a few things:

  • Titlebar buttons do not overflow anymore.
  • The search button can be moved or removed.

Installation & Building

Requirements

  • Firefox 38+

From AMO (Mozilla Addons)

Note: Not yet signed, pre-release!

From Github Download

Manually, from repository

First clone the repository to your local machine:

git clone https://github.com/Centril/firefox-line && cd firefox-line

Since this is written with the Addon SDK, you will need to use jpm.

If you haven't installed it before, simply do (you might need to run this with sudo):

npm install jpm -g

To test out the addon, try:

jpm run

If you want to package it as an .xpi, do:

jpm xpi

Changelog

See CHANGES.md.

Copyright & License

Licensed under the GPL 2 License. Copyright 2015 Mazdak Farrokhzad for the modified parts. Copyright Mozilla foundation for the original addon.

Note: The project is NOT licensed under MPL 1.1 or MPL 2, only GPL 2+.

Bugs | Issues | Feature requests | Contribution

Want to contribute? Great stuff! Please use the issue system that github provides to report bugs/issues or request an enhancement. Pull requests are also more than welcome.

Author

Mazdak Farrokhzad / Centril <[email protected]>

Acknowledgements

This addon was based on oneLiner by Mozilla Labs but by now it is rewritten from scratch.

Many thanks to @Noidart and @freaktechnik for help with the APIs and advice on addon development.