How to close a pop-up window on Safari (iPhone 6)?

How to close a pop-up window on Safari (iPhone 6)?

Added (1). A scam "FBI Warning" popped up on my iphone - but it won't allow me to ex it out no matter what I try. I've restarted my device. Please help. It's just a scam / virus asking me to type in Paypal information.

Added (2). UPDATE: I figured it out! For anyone searching this question and wonder, go to your iPhone Settings -> Safari -> Clear History and Data.

If you double click the button on the bottom right of the screen that looks like 2 squares it will show all open windows including pop ups and you can close them.
Disable pop ups in settings - safari

  • Window can't detecting my iphone 5s photos? Haii. My iphone 5s have 8++ photos but when i'm plugged in to PC it's just detecting 42 photos. can you tell me what the problems, please. *sorry for my bad english*
  • Why does gmail sign me out of my account every time I close my safari app on my iphone? This is a recent development and I'm starting to get really irritated. It started happening today after I cleared my history. Before today, I could close all my apps and when I opened them I would still be logged into my gmail account. This is no longer the case, and I'm not sure why. I cleared my cache and enabled cookies, so I don't understand why gmail is doing this. I've probably tried logging into my gmail account 10 times trying to fix this.
  • Scary dubstep song with an iPhone ringing during the song and pounding on a window? I heard it in my friends car and he didn't tell me the name of it. It is really scary when the iPhone rings and someone pounding at the window.
  • IPhone safari message pop up said please clean your mac? I had a message saying to consider cleaning my mac on my iphone, is this a virus? I don't have a mac so would this effect me, my pc is also broken at the moment, but will this cause problems on my iphone or anything like that I'm not a tech wizard so if you know how to fix this and can explain it easily it would be really helpful thank you