Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Mulongo oyo etiyamaki na archive. Tuna motuna mosusu soki osengeli na lisalisi

How can I set the "View Source" page to show line numbers?

more options

I just want to be able to view the line numbers while viewing the source code from any webpage.

I just want to be able to view the line numbers while viewing the source code from any webpage.

All Replies (1)

more options

Use an external program for View Source, one that has numbered lines as a feature.
You need to set these two hidden preferences:
http://kb.mozillazine.org/View_source.editor.external
http://kb.mozillazine.org/View_source.editor.path