Close iframe after clicking code needs adjustment for active iframe links

I want to close an iframe when clicking on it. I already found a working script here

But the thing is, the links of the iframe (in this case the fb links) are not working. You can only view the iframe, but I also want to interact with the iframe before closing.

Which changes do I have to maken?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.