atomic-css-devtools icon indicating copy to clipboard operation
atomic-css-devtools copied to clipboard

Firefox support

Open ariesclark opened this issue 1 year ago • 6 comments

The extension seems to support Firefox, but isn't published on https://addons.mozilla.org/en-CA/firefox/extensions/.

ariesclark avatar Oct 16 '24 21:10 ariesclark

working on it!

image

astahmer avatar Oct 16 '24 21:10 astahmer

done & publlished here ! I noticed a bunch of stuff breaking initially due to different behaviour between chromium & firefox, those are mostly fixed but you might still encounter a random issue as I didnt test it as much as the chrome version

one thing I noticed wasn't working at all (that I did not invest time into fixing) is the inline adding of styles, stuff like color: red in this screenshot: image as a temporary solution, I just removed this feature entirely for the Firefox version, I'm open to PRs if someone wants to fix it

astahmer avatar Oct 17 '24 12:10 astahmer

actually; re-opening for a few days so that people can see the link to the extension

astahmer avatar Oct 17 '24 12:10 astahmer

Thanks for this! Giving it a whirl. There's an intermittent console error at the moment: Error: [webext-bridge] No handler registered in 'devtools' to accept messages with id 'focus'

thisisjamessmith avatar Oct 17 '24 15:10 thisisjamessmith

ah, sorry about that !

I had this issue at some point yesterday but restarting the devtools fixed it and couldnt reproduce afterwards so I thought this was a dev-only thing, especially since it was working fine for me in prod (https://x.com/astahmer_dev/status/1846891507044794657)

would you like to send a PR ?

astahmer avatar Oct 17 '24 15:10 astahmer

I wish I could! Sadly I have zero experience of building browser extensions, wouldn't know where to start!

thisisjamessmith avatar Oct 17 '24 16:10 thisisjamessmith