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

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

  • 1 phendula
  • 16 inale ngxaki
  • 9 views
  • Impendulo yokugqibela ngu the-edmeister

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