搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How can you (in View Page Source) view source on a certian webpage?

  • 4 回覆
  • 2 有這個問題
  • 3 次檢視
  • 最近回覆由 cor-el

more options

I am wondering how from a 'View Page Source" window (accessed by right-clicking on a page and pressing on View Page Source) I can get to a certain page's source (any one). If I can't, it's a suggestion.

I am wondering how from a 'View Page Source" window (accessed by right-clicking on a page and pressing on View Page Source) I can get to a certain page's source (any one). If I can't, it's a suggestion.

被選擇的解決方法

You can prefix any link with the view-source: protocol to see the page source in a tab.

  • view-source:https://support.mozilla.com/en-US/questions/835895
從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

"View Page Source" is for the page that is being viewed when you right-click and select that menu item.

more options

選擇的解決方法

You can prefix any link with the view-source: protocol to see the page source in a tab.

  • view-source:https://support.mozilla.com/en-US/questions/835895

由 cor-el 於 修改

more options

Thanks a lot cor-el

more options

You're welcome

You can use this also for links that open a download "Open with" dialog to save a text page.