Interactive color changing in Firefox with userstyle applied?
Hey guys. I'm looking for a solution that lets you change CSS colors in realtime, like you can with Firefox's Web Inspector (ctrl+shift+i). Normally you can click the little circular color swatches in the inspector and watch it update the web page's colors in real time, but if you have a userstyle applied, it doesn't do anything. It seems the inspector just has no idea that Stylish has applied a userstyle.
I tried using Firebug along with an addon called Firepicker, but it didn't work out as well as I'd like...had to reload the page each color change, instead of the way it normally updates in realtime. On the plus side, Firebug knows about changes Stylish makes, which is cool.
Any ideas?
BTW, I'm on a Windows 7 running Firefox 36...tested with both Stylish 1.4.3 and 2.0.2...and Firebug 2.0.8 with Firepicker 1.4.3.
I tried using Firebug along with an addon called Firepicker, but it didn't work out as well as I'd like...had to reload the page each color change, instead of the way it normally updates in realtime. On the plus side, Firebug knows about changes Stylish makes, which is cool.
Any ideas?
BTW, I'm on a Windows 7 running Firefox 36...tested with both Stylish 1.4.3 and 2.0.2...and Firebug 2.0.8 with Firepicker 1.4.3.
Comments
I can't imagine how you can write a style efficiently w/out SEM!
Not use firebug cause slow down a lot the browser, the build in inspector is enough for me, I use DOMI for modify the browser and complement sometimes the firefox inspector.
At first edit the style with notepad++ and paste content in stylish editor ( in new window mode).
Often have open the page, inspector and stylish editor, then I can modify, inspect and see changes in real time.
Hope I help u a little.
Regards and congrats for your work.
I found a solution, although it's not quite perfect and somewhat buggy :( Figured it out based on this bugzilla page: https://bugzilla.mozilla.org/show_bug.cgi?id=984880
about:config
in the URL bardevtools.inspector.showUserAgentStyles
totrue
!important
at the end of each declarationBTW, when I say to increase the specificity, the easiest way is just to prefix your CSS selector with 'html'. For example, if you wanted to just style the 'body' tag, you would be more specific and say 'html body'. If you don't, it most likely won't let you style it.
@makondo: No, I don't use Stylish Editor Mod or Rainbowpicker. As far as I can tell, neither one lets me do real time color updating like this:
@a3cAnton: I don't normally use Firebug, but I had to try it to see if it could change colors quickly when a userstyle is applied. Also, I don't think editing in Notepad++ and pasting to the Stylish editor and then previewing is "real time"...that's a very slow process in my opinion ;) Real time to me means that if I pick a color, it immediately changes on the screen.
I mean this:
I just think it's a long way around (plus, none of our suggestions is what Valacar is looking for anyway!