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] Private tab button does not get created #83

Closed ricewind012 closed 11 months ago

ricewind012 commented 11 months ago

Describe the bug does not create the button, yells at this line

To Reproduce Steps to reproduce the behavior:

  1. Install private tabs script
  2. Open Firefox
  3. Open browser toolbox
  4. See error

Expected behavior it should appear

Desktop (please complete the following information):

aminomancer commented 11 months ago

Feel free to reopen if the latest update doesn't fix your issue

ricewind012 commented 11 months ago

it did not, but I replaced the variable with this and it worked:

let privateMask = document.getElementById(
  "private-browsing-indicator-with-label"
);
aminomancer commented 11 months ago

Sorry lol, my mistake.