The code is available on github [3].
[1] https://matthewstrom.com/writing/how-to-pick-the-least-wrong... [2] https://news.ycombinator.com/item?id=31639009 [3] https://github.com/aleris/category-colors
> Firefox only supports reading the clipboard in browser extensions, using the "clipboardRead" extension permission. [1]
I implemented a quick workaround with paste directly on one of the template color inputs, seems to be working.
[1] https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...