Open userContent.css in style editor

Discussion of bugs in Mozilla Firefox
Post Reply
morat
Posts: 6421
Joined: February 3rd, 2009, 6:29 pm

Open userContent.css in style editor

Post by morat »

Is there a trick to open the userContent.css file in the style editor? I want to live debug the file.

Style Editor doesn't list userContent.css
http://bugzilla.mozilla.org/show_bug.cgi?id=1470780

I don't follow aminomancer's comment in the bug.

The style editor isn't available in the browser content toolbox.

I tried opening the userContent.css file in the style editor in the browser toolbox while on about:config and on the test page. That file isn't listed.

I tried clicking a dummy rule userContent.css link in the inspector tab while on the test page. That link doesn't open the userContent.css file.

Code: Select all

/* Firefox userContent.css */

:root { --cowabunga: rgb(0, 0, 0); }
Test page
http://www.mozillazine.org/

Highlight userChrome.css and userContent.css labels in style editor
http://forums.mozillazine.org/viewtopic ... #p14856318
User avatar
xanthon
Posts: 410
Joined: December 17th, 2005, 11:55 pm

Re: Open userContent.css in style editor

Post by xanthon »

You are probably aware of this (inconclusive) thread on reddit: https://www.reddit.com/r/FirefoxCSS/com ... tcss_live/
morat
Posts: 6421
Joined: February 3rd, 2009, 6:29 pm

Re: Open userContent.css in style editor

Post by morat »

Thanks.

I got a dummy rule userContent.css link in the inspector tab to open the userContent.css file.

That link didn't open the userContent.css file in Firefox 87. Now it does in Firefox 88.
Post Reply