aminomancer/uc.css.js

[BUG] Private tab button does not get created

Closed this issue · 3 comments

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):

  • OS: Linux
  • Firefox update channel: Nightly
  • Version: 119.0a1
  • Build ID: 20230905215534

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

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

let privateMask = document.getElementById(
  "private-browsing-indicator-with-label"
);

Sorry lol, my mistake.