I’d like to change the layout of the default JSON viewer in Firefox (about:config --> devtools.jsonview.enabled --> true).
I know it’s possible via:
- Create a userContent.css file (within chrome folder in the profile)
- Set toolkit.legacyUserProfileCustomizations.stylesheets to true in about:config
- Restart Firefox
But I’d like to apply CSS changes via an Add-On and to me it looks like that neither content scripts nor user scripts are working when the default JSON viewer is loaded.
Do you have any further information?