In order to check when an iframe will not be targeted any more, you'll be able to check this thread Then, you have only to refocus the iframe with javascript when it happens WATCH VIDEO TUTORIAL Note: By default, the iframe component incorporates a border all over it. To get https://deannswae.thelateblog.com/19027370/facts-about-parent-window-revealed