ffcss icon indicating copy to clipboard operation
ffcss copied to clipboard

userChrome.js (autoconfig) Support

Open black7375 opened this issue 3 years ago • 4 comments

https://www.reddit.com/r/FirefoxCSS/comments/oheqq4/i_released_the_first_version_of_ffcss_a_cli_tool/h4oss7c?utm_source=share&utm_medium=web2x&context=3

Samples of autoconfig scripts

  • https://github.com/MrOtherGuy/fx-autoconfig
  • https://github.com/xiaoxiaoflood/firefox-scripts
  • https://github.com/alice0775/userChrome.js

This is helpful information when locating.

  • https://github.com/SebastianSimon/firefox-omni-tweaks/blob/595195c379ef2dddbcdaba2373ef5413c8f86215/fixfx.sh#L393

Your project looks really good!!

black7375 avatar Jul 14 '21 07:07 black7375

Note: the milestone might change if this turns out to be easier than expected :)

Your project looks really good!!

Thanks a bunch!

ewen-lbh avatar Jul 14 '21 08:07 ewen-lbh

I hope this code will also help you. https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme/tree/master/Installers/Multirow%20%26%20other%20functions

black7375 avatar Jul 23 '21 00:07 black7375

@black7375 I just implemented pre & post-install hooks (i.e. the ability to run custom commands/scripts after and/or before theme installation)!

See #40, the Unreleased section of the changelog and d7d88213f777fcaa9f2c4d6d0399ad3044685b61 for the implementation details, if you're curious.

While this is far from a clean solution to the whole autoconfig support issue, it means that your theme might be able to work on ffcss v0.2.0 and up!

ewen-lbh avatar Jul 23 '21 22:07 ewen-lbh

LGTM. I really like this project. I'm sure it will be helpful to many creators.

black7375 avatar Jul 24 '21 07:07 black7375