Skip to content

lucaspar/firefox-vertical-tabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firefox vertical tabs

vertical-tabs-demo-cut

Setting it up

  1. Install the Sidebery extension.
  2. In Sidebery settings:
    1. Set the title preface must as "[S] " (without quotes, trailing space is optional but makes titles more readable). This is used by CSS rules below to identify when Sidebery is active.
    2. Set 'Tabs tree structure' to false -- this stylesheet doesn't adapt to multiple tab levels, but feel free to tweak it!
    3. Copy and paste the SIDEBERY STYLES section in the userChrome.css to Sidebery's Styles Editor → Sidebar.
    4. Optionally sync Sidebery settings to Firefox account to get other customizations.
  3. Go to about:support → copy the 'Profile Directory' location, setting it as the variable FF_USER_DIR: FF_USER_DIR="/path/to/profile/dir".
  4. Move CSS files to FF user location:
    • mkdir -p "${FF_USER_DIR}/chrome"
    • mv userChrome.css "${FF_USER_DIR}/chrome/userChrome.css"
    • mv userContent.css "${FF_USER_DIR}/chrome/userContent.css"
  5. Go to about:configtoolkit.legacyUserProfileCustomizations.stylesheets to true.
  6. Restart Firefox (about:restartrequired to reopen your current tabs).

Tweaking and Debugging

How to inspect the browser interface

Source

  1. Enable the Browser Toolbox

    Press F12 to open the Page Inspector.

    Alternate: Right click the page then Inspect Element (Q).

    Press F1 to open the Page Inspector Settings.

    Alternate: In the top right of the Page Inspector next to the close button; press the button, then Settings.

    Ensure the following settings are checked:

    • Enable Browser chrome and add-on debugging toolbox
    • Enable remote debugging
  2. Open the Browser Toolbox

    Press Ctrl+Alt+Shift+I

    Alternate: Press Alt on the keyboard to bring the window menu → ToolsWeb DeveloperBrowser Toolbox.

How to inspect extensions interface

You can use the Browser Toolbox to inspect extensions, or do it through about:debugging:

  1. Navigate to about:debugging.
  2. Go to the This Firefox page.
  3. Find the extension you want to inspect.
  4. Press Inspect and a console window should open.
  5. Change targeted iframe if needed by clicking the blue "layout" icon in the upper right corner, located close to the ellipsis menu icon.

Resources