-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
31 lines (19 loc) · 1.31 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Overview
A Firefox add-on that allows auto-hiding of toolbars. Makes toolbars float over the webpage content when showing so that the content is not moved. This changes the default Firefox fullscreen auto-hide behavior.
The basics
The functionality centers around changing #browser-panel between its normal display mode and -moz-stack in order to enable the autohide capability. As a result, several workarounds and careful considerations are used in order to interoperate with the numerous Firefox add-ons that modify the toolbars and titlebar (especially under Windows).
The files
content/
- preferences/config.xul - Add-on preference window
- preferences/config.js - Logic for preference window
- addon.js - Add-on installation, upgrade and removal
- fstbh.js - Preference changes, deciding when the add-on is applied and setting offsets / margins for the various modes
- fstbh.css - Handles layout and some behavior controlling css
- fstbh.xul - Overlay to add context menu items, set some attributes and include scripts
- identity.js - Displays a box over the page content with the SSL issuer and domain
- navBoxHandler.js - Handles when to show the #navigator-toolbox
- utils.js - Misc stuff
locale/
- Strings for preferences, menuitems, etc.
skins/
- Handles platform specific css, images and css that doesn't effect behavior