Look what Curtis just did:
Curtis Bartley is the newest member of the Firefox front end team and, to get his feet wet, he made the world a better place by fixing a very old bug. And its 7 duplicate bugs.
Specifically, he set it up so that resources which are referenced in source are now clickable links. Want to know what that external javascript does? Click the link, and it will be loaded in the source viewer. Likewise CSS. Maybe you clicked “View Source” only to discover you were looking at a frame set, and actually wanted the source for a frame – that works too.
And yes, back and forward keyboard shortcuts work. And yes, both relative and absolute links work. And yes, you can have this in a tab instead of a separate window, either by sticking view-source: on to the front of your URLs (see?), or by finding one of the addons that does it for you.
Way to go Curtis, keep ’em coming!
Woohoo!
Neat!
A few weeks ago, I made an extension to add that functionnality to firefox. But I needed to parse rendered source, which is awful. So, it’s nice to see that bug fixed the right way in mozilla 🙂
https://addons.mozilla.org/en-US/firefox/addon/9047
If you can open it in a new tab there seems to be a consistency bug here, you can not simply middle click the “view source” option in the context menu.
@Damian – File that bug!
https://bugzilla.mozilla.org/enter_bug.cgi?product=Toolkit&component=View+Source
Might be a dupe, but couldn’t find anything so filed the bug: https://bugzilla.mozilla.org/show_bug.cgi?id=464336
@Johnath haha, hadn’t seen your comment was already testing and filing, but thanks for the component names I can never figure out to put what in what.
Would maybe be nice if there was a back button somewhere you could click to get back to the previous source if you accidentally click a link.
cool! I filed this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=464339
I can tell you now, this is going to be a very useful feature for me. It is my new most awaited. Great article.
squeeeeeeee!!!!! Best feature ever…
Damian’s bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=464336
Add those votes!
Chrome already does this, but it’s nice to see that Firefox will too.
I won’t use Firefox until It lets me apply changes to the source code. Sticking to Opera…
w00t!
This is a great bug fix!