numirias / paxmod

🕊️ Firefox add-on for multi-row tabs and site-dependent tab colors
MIT License
249 stars 15 forks source link

Is it possible to add `[multibar="true"]` attribute to `#TabsToolbar`? #100

Open black7375 opened 2 years ago

black7375 commented 2 years ago

I am the author of Lepton(firefox ui fix) and has an issue that wants to support paxmod. https://github.com/black7375/Firefox-UI-Fix/issues/500

This project is webextension, but it seems to be able to load CSS dynamically to the browser ui, unlike general webextentions. (I don't know how much experiment_apis's limit is.)

Then, is it possible to add attribute to the browser UI? If you add [multibar="true"] to #TabsToolbar, the multi-row feature is immediately compatible.

Alternatively, about:config pref(Ex. userChrome.paxmode.enabled) is automatically added when installing, but I think there will be difficulties in general webextenstions.

If the above two questions are possible, it will be automatically compatible when installing paxmod. If it is impossible, the user should manually adjust the about:config pref.

surapunoyousei commented 1 year ago

I have worked on adding this feature. I would appreciate it if you could merge the PR.

Enable: image

Disable: image

I'm a student and don't have time, so I apologize for the delay in writing the patch.