aminomancer / uc.css.js

A dark indigo CSS theme for Firefox and a large collection of privileged scripts to add new buttons, menus, and behaviors and eliminate nuisances. The theme is similar to other userChrome stylesheets, but it's intended for use with an autoconfig loader like fx-autoconfig, since it uses JavaScript to implement its more functional features.
Other
326 stars 27 forks source link

[BUG] Right clicking the toolbox button no longer opens the browser toolbox #54

Closed watatomo closed 1 year ago

watatomo commented 1 year ago

Describe the bug Right clicking the toolbox button doesn't open the browser toolbox. Instead, it shows a context menu.

To Reproduce Steps to reproduce the behavior:

  1. Go to the toolbar
  2. Right click on browser toolbox

Expected behavior The browser toolbox should open.

Screenshots image

Desktop (please complete the following information):

Additional context My setup is published here.

aminomancer commented 1 year ago

Like the readme says, these scripts are only designed to work with Nightly. It's not possible to support every release channel. You can switch to Nightly or go back to a previous version of the script

aminomancer commented 1 year ago

Also you can probably make the existing version work by changing these lines to this:

    XPCOMUtils.defineLazyModuleGetters(lazy, {
      BrowserToolboxLauncher:
        "resource://devtools/client/framework/browser-toolbox/Launcher.jsm",
    });
watatomo commented 1 year ago

Yeah, that did the trick. Apologizes.