Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

block pop-ups in Safari

How can I block a pop-up from coming up in Safari if the pop-up comes up automatically and blocks me out of Safari?

iMac, iOS 7.0.4

Posted on Jul 16, 2015 2:00 PM

Reply
Question marked as Best reply

Posted on Jul 16, 2015 2:02 PM

Choose Force Quit from the Apple menu, close Safari, and then launch it with the Shift key held down. If the message reappears, temporarily disconnect the computer from the Internet and/or click here and run MalwareBytes for Mac. If you need to download the tool, doing so may require a different web browser.


(130321)

2 replies
Question marked as Best reply

Jul 16, 2015 2:02 PM in response to terriflowersbull

Choose Force Quit from the Apple menu, close Safari, and then launch it with the Shift key held down. If the message reappears, temporarily disconnect the computer from the Internet and/or click here and run MalwareBytes for Mac. If you need to download the tool, doing so may require a different web browser.


(130321)

Jul 16, 2015 2:24 PM in response to terriflowersbull

First, all so-called "anti-virus" or "anti-malware" software is harmful in one way or another, and should never be used.

It's not malware. It's a Web scam that only affects your browser, and only temporarily. There are several ways to recover.

1. Some of those scam pages can be dismissed very easily. Press the key combination command-W to close the tab or window. A huge box will pop up. Press the return key and both the box and the page will close. If that doesn't happen, continue.

2. Press and hold command-W. You may hear repeating alert sounds. While holding the keys, click the OK button in the popup. A different popup may appear, which you can cancel out of as usual.

3. From the Safari menu bar, select

Safari ▹ Preferences... ▹ Security

and uncheck the box marked Enable JavaScript. Leave the preferences dialog open.

Close the malicious window or tab.

Re-enable JavaScript and close the preferences dialog.

4. If the Preferences menu item is grayed out, quit Safari. Force quit if necessary. Relaunch it by holding down the shift key and clicking its icon in the Dock. None of the windows and tabs will reopen.

After closing the malicious page, from the menu bar, select

Safari Preferences... Privacy Remove All Website Data

to get rid of any cookies or other data left by the server. Open your Downloads folder and delete anything you don't recognize.

block pop-ups in Safari

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.