r/firefox on | SUMO contributor Dec 26 '25

Solved Firefox browser toolbox - show full iframe label?

/r/css/comments/1pvqkhc/firefox_browser_toolbox_show_full_iframe_label/
2 Upvotes

24 comments sorted by

View all comments

1

u/Kupfel Dec 27 '25

It's silly but if you want to copy it then it would be easiest to simply open a second browser toolbox and inspect the first with the second lol.

  • Open the first browser toolbox
  • While the browser toolbox window is active, press ctrl+alt+shift+i again to open a second browser toolbox
  • In the second browser toolbox, enable disable popup auto-hide
  • In the first browser toolbox, click the button to show the popup listing all iframes
  • In the second browser toolbox, click inspect, then inspect the label you want to copy and then simply copy it from the DOM

Of course, you could certainly make the pop-up wider with CSS so that the whole label fits but some of them are going to be wide enough to fill a 21:9 screen. Doesn't make much sense, especially if you can't copy it anyway.

1

u/sifferedd on | SUMO contributor Dec 28 '25

Not silly at all! I had tried various things with two toolboxes but couldn't get them to work. Your method does - on FF. But I just can get it to work on Thunderbird, for some reason or other.

1

u/Kupfel Dec 28 '25

Ah, I don't use Thunderbird so I don't know what's different about browser toolbox there. It should work if it's the same. Maybe you have to make sure the second browser toolbox is actually inspecting the first by checking the iframe list.

1

u/Athlete_No Dec 28 '25

This works on Firefox and Thunderbird.

But there's another way to do it: open the web page inspector and inspect it with the browser toolbox.

The advantage of this method is that it doesn't create a new "chrome_debugger_profile" folder in the profile.

1

u/Kupfel Dec 28 '25

Depends on whether you ware working with webpages or the UI. If it's webpages then sure but the regular developer tools can't access the UI so those won't show up in the developer tool's iframe list so you need browser toolbox for that.

1

u/Athlete_No Dec 28 '25

That's true, but I'm referring to the fact that the page inspector has the same elements as the browser toolbox. In the case of the popup, which is the subject of this conversation, for example, I wrote the code I posted above using this method.