In my webapplication, I have a certain webpage that has an iframe
inside of it with a certain source (can't tell which one, but I think (?) not really important for this question), but as soon as the webpage on my webapplication that contains the iframe
in it is loaded, it throws a pop up which asks if I want to leave the page. I don't want this, I want to stay on the page with the iframe
element inside of it.
The weird thing is, that when I for instance use http://example.org
as the source (for testing), it shows the webpage normally without any pop up (and so did other pages I tested that contained HTML, CSS and most importantly JS).
What is it that causes this pop up? The pop up does not appear when I manually open the webpage that is included as the source of the iframe
, in a browser.