NOTE: Firefox does not support certain tasks for iframes with style=”display:none”, like adding event listeners. A possible workaround is to add a class that changes the visibility. Here is an example: