搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

What is the meaning of page source view code formats / colors?

more options

I am using FireFox 22 on Win 7 64 Pro. I am a web designer / developer, and routinely access page source view via the goodl old Ctrl-U shortcut.

Even though I've used this for a long time, I have never understood the meaning of the various formats and colors of displayed source. It's a mystery – I'd love to find some reference documentation to explain it all.

I also don't understand what's going on when I click on hyperlinked text in this view; it appears to have something to do with scripts, but again, I'm mystified.

Seeking enlightenment...

I am using FireFox 22 on Win 7 64 Pro. I am a web designer / developer, and routinely access page source view via the goodl old Ctrl-U shortcut. Even though I've used this for a long time, I have never understood the meaning of the various formats and colors of displayed source. It's a mystery – I'd love to find some reference documentation to explain it all. I also don't understand what's going on when I click on hyperlinked text in this view; it appears to have something to do with scripts, but again, I'm mystified. Seeking enlightenment...

所有回复 (2)

more options

You can look at this stylesheet:

  • resource://gre-resources/viewsource.css
more options

The links in the source viewer allow you to view linked files in the source viewer. These files may range from external style sheets to external script files to images to... lots of things, not all of which will be viewable.

Note that to go "back" from a link you followed in the source viewer you can use the regular keyboard shortcuts. For Windows:

  • Alt + LeftArrow
  • Backspace (if not disabled in your settings, and cursor is not in the Find box)