New in Firefox 3.1: Linkified View Source

Look what Curtis just did:

Linky!

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!

21 comments

  1. 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

  2. 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.

  3. Might be a dupe, but couldn’t find anything so filed the bug: https://bugzilla.mozilla.org/show_bug.cgi?id=464336

  4. @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.

  5. 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.

  6. I can tell you now, this is going to be a very useful feature for me. It is my new most awaited. Great article.

  7. *squeeeeeeee!!!!!* Best feature ever…

  8. [...] very cool change landed in Firefox 3.1. View source will now create links where appropriate (a rather old bug I might add). I must have copy/pasted millions of URL’s [...]

  9. Chrome already does this, but it’s nice to see that Firefox will too.

  10. I won’t use Firefox until It lets me apply changes to the source code. Sticking to Opera…

  11. [...] Curtis Bartley – świeży w zespole Firefoxa już dał coś developerom www. Dodał do podglądu strony www możliwość klikania na odnośniki. [...]

  12. [...] Firefox 3.1 vine cu bunatati pentru developeri. De abia astept sa fie lansat. Post a comment — Trackback URI RSS 2.0 feed for these comments This entry (permalink) was posted on Thursday, November 13, 2008, at 1:34 pm by Catalin Istratoiu. [...]

  13. This is a great bug fix!

  14. [...] don’t often get personal in this blog.  Mostly I talk about Firefox things, security things, or how to make reasonably awesome bread.  I don’t want to inundate my [...]