If the browser caught in an endless loop of pop-up alerts, go to the iOS built-in "Settings" app, find "Downloads", turn on "Recovery Mode", then force-quit and relaunch the app.