Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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
Solved Archived

In Inspect Element, how can I copy text in dropdown list under icon with following tooltip text: "Select an iframe as the currently targeted document"?

Jack2035 replied
Jack2035

Hi there,

As per my screenshot, I'd like to see the full text in the iframe (cirled red icon) dropdown list and also be able to copy it.

Cheers, Jack

Hi there, As per my screenshot, I'd like to see the full text in the iframe (cirled red icon) dropdown list and also be able to copy it. Cheers, Jack
Attached screenshots

All Replies (2)

Chosen Solution

Hi Jack, try this code in the web console:

var ifs=document.getElementsByTagName('iframe'); for(var i=0; i<ifs.length; i++) console.log(ifs[i].src);

That would list the iframes in the main document, but not within other iframes. Close?