Is there a way to determine if the media-iframe is visible?
I came up with a way to do it: Add an element to the contents of the frame such as a text input with and ID (i.e. ‘search_text’) In the plugin’s CSS file, style the element to be visible only when it is displayed in the frame: #search_text { display: none; } #media-upload #search_text { … Read more