diox / firefox-minimap-scroller

Firefox Minimap Scroller Addon
MIT License
46 stars 6 forks source link

Firefox Minimap Scroller Sidebar Add-on

Description

Firefox Minimap Scroller Sidebar Add-on adds a special sidebar to your browser which displays a small minimap representing the document inside your current active tab and its visible area. You can use this minimap to navigate around the document, scroll clickly to a specific element, etc.

The minimap and the rectangle showing the visible area are updated when you scroll, resize, change page etc (Unfortunately for the moment it can not react to CSS-only changes, but it does change when new elements are added).

This was inspired by the minimap feature found in many games and text editors, particularly Sublime Text.

Note that this add-on is fairly experimental, and probably not very useful. It was more of a fun exercice to write. Don't expect a lot of support.

Installation instructions

The add-on is available on AMO: https://addons.mozilla.org/en-US/firefox/addon/minimap-scroller-sidebar/

To develop, use web-ext run command from this directory or install the add-on temporarily using about:debugging.

TODO