Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Working with iframes

我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!

This feature is new in Firefox 34.

From Firefox 34 onwards, you can point the developer tools at a specific iframe within a document.

You'll see a button in the toolbar:

Click it, and you'll see a popup listing all the iframes in the document, as well as the main document itself.

Note that at the moment you'll need to reload the page or close and reopen the developer tools in order to see the popup. This is being tracked as bug 1062233.

If you select an entry in the list, all the tools in the toolbox - the Inspector, the Console, the Debugger and so on - will now target only that iframe, and will essentially behave as if the rest of the page does not exist.

文件標籤與貢獻者

 此頁面的貢獻者: xfq, jsx, jamsewiler, Sheppy, wbamberg
 最近更新: xfq,