搜尋 Mozilla 技術支援網站

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

了解更多

View actual sourcecode

  • 2 回覆
  • 1 有這個問題
  • 19 次檢視
  • 最近回覆由 Birger52

more options

Developing a site with login. How do I see the actual source code of the page, after logging in? "View sourcecode" from menu, show me the login page, which is not what I need...

Developing a site with login. How do I see the actual source code of the page, after logging in? "View sourcecode" from menu, show me the login page, which is not what I need...

被選擇的解決方法

There are several ways to view the page source:

1. Rightclick on anywhere -> "View page source"

2. Press the Hotkey [Ctrl] + [U]

3. write "view-source:" infront of your url (e.g. view-source:https://google.com)

You can also use the Firefox developementtool "Inspector" by pressing [F12]

Many greets

從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

選擇的解決方法

There are several ways to view the page source:

1. Rightclick on anywhere -> "View page source"

2. Press the Hotkey [Ctrl] + [U]

3. write "view-source:" infront of your url (e.g. view-source:https://google.com)

You can also use the Firefox developementtool "Inspector" by pressing [F12]

Many greets

more options

Thx for answering.

view-source does the thing.

None of the others actually gives the sourcecode - some give Firebugs version of it [F12], and some give a version that is no longer valid - f.eks. after logging in, you get the code of the login page..