4 ms·
Can this be turned in a browser extension that would allow a nicer view source?
by pietroppeter 6y ago
Can this be turned in a browser extension that would allow a nicer view source?
- lqet 6y agoUnlikely, as in its current form, the styling includes special :before and :after rules for specific elements, and the inclusion of element attributes in the final output has to be also hand-coded for specific elements and attributes.
- LeonB 6y agoI also wrote a version that used javascript to see what elements existed in the page and generate the relevant before/after styles. Adding attributes would’ve be doable. But it gets a bit silly really, once you have a giant page.
- TomJansen 6y agoFor Firefox, I found this extension [1] which is really a step-up from the build-in source viewer. [1]: https://addons.mozilla.org/en-US/firefox/addon/fire-source-viewer/ https://addons.mozilla.org/en-US/firefox/addon/fire-source-v...