Skip to content

Conversation

CosmoCreeper
Copy link
Contributor

@CosmoCreeper CosmoCreeper commented Aug 19, 2025

This pull request switches all mods from -moz-bool-pref to -moz-pref and all :root:has(#theme-{name}) to -moz-pref. The idea is to use Mozilla's built-in functionality for identifying preferences and improve performance by getting rid of :root:has().

Additionally, this pull request improves formatting for some mods as some were originally hard to read and understand.

Feel free to provide suggestions or let me know if I missed anything in the pull request.

Testing (includes all mods, even unchanged ones):
  • Zen Paper Cut Theme
  • Only Reset On Hover
  • Better Active Tab
  • Super Sleek UI
  • Hide tab mute
  • Secret Theme
  • Zen Back Forward
  • Zen Minimal Exit Menu
  • Custom MenuButton
  • Disable Rounded Corners
  • Right Side Glance Buttons
  • Bigger Mute Button
  • Hidden Reset Button
  • Tidy Popup
  • Back Fwd Always Hidden
  • No Sidebar Scrollbar
  • Audio Indicator Enhanced
  • Smaller Compact Mode
  • HidePlugins
  • Better UniExtBtn
  • Vertical Split Tab Groups
  • Better Spacing
  • Big Essentials
  • Remove Tab X
  • Better Tab Indicators
  • Tab title fixes
  • Only Close On Hover
  • Colored container tab
  • Left close button
  • Better CtrlTab Panel
  • Floating History
  • Fluid URL
  • Cleaner Extensions
  • Clickable Scrollbar
  • SuperPins
  • Hide Extension Name
  • Animations Plus
  • CustomCursor
  • Pimp your PiP
  • Winter Spirit
  • Transparent Zen
  • Quietify
  • Tab Text Size
  • Custom uiFont
  • NoHighlightSplit
  • Sidebar Expand on Hover
  • Add new tab urlbar icon
  • Bleeding Corners Fix
  • Trackpad Animation
  • Tab Numbers
  • Cleaner Bookmark Menu
  • Tab Preview Enhanced
  • smaller zen toast popup
  • Floating Status Bar
  • Custom Statusbar
  • Load Bar
  • Cleaned URL bar
  • Zen Colored Picker
  • DoubleClickless
  • Hide Inactive Workspaces
  • No pinned tab reset btn
  • Disable Status Bar
  • Zen Context Menu
  • Compact tabs title
  • Better Letterboxing
  • Better Find Bar
  • Bookmark Toolbar Tweaks
  • Old navigation buttons
  • Better Unloaded Tabs
  • Customize Font Size
  • NavBar Margin
  • sleek border
  • Revitalized devtools

Certain mods are just broken in general and will be removed with another pull request.

Broken:
  • Download BG
  • Remove Browser Padding
  • Sidebery
  • Private Mode Highlighting
  • Zen Sidebar at Right Side
  • Audio TabIcon Plus
  • Bottom Essentials
  • TitleBarButton UI Tweaks
  • Customized Popup

@CosmoCreeper
Copy link
Contributor Author

Although it wasn't exactly this pull request's fault, the "Show the window controls" option in Zen Minimal Exit Menu was broken, so I decided to fix it.

@CosmoCreeper
Copy link
Contributor Author

The "Better Tab Indicators" mod had :has(#theme-{name}) selectors inside of the .tabbrowser-tab selectors, which was technically invalid to begin with, but by cleaning up some formatting, replacing them with the -moz-pref media queries, and adjusting the variable name for custom tab borders, it now works perfectly.

@CosmoCreeper CosmoCreeper marked this pull request as ready for review August 19, 2025 23:18
@CosmoCreeper CosmoCreeper changed the title Switch all mods to use -moz-pref and make formatting more unified and easier to understand. Switch all mods to use -moz-pref and make formatting easier to understand. Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant