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?

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