are you sure you want to leave this page pop-up

I am running 10.14.1 on a MacBook Pro (Retina, 13-inch, Mid 2014). A few days ago I began receiving the "are you sure you want to leave this page" on the NY Times page and no other. This occurs both on Safari and Firefox. I have tried several of the solutions suggested on these forums and others such as Force Quitting the browser, deleting last session plist, etc. all to no avail. I have tried deactivating JavaScript however this causes the page to not function properly. I understand this is probably coming from the site but I'd still like to get rid of it if I can. I am running adblock, if that matters.

MacBook Pro, macOS Mojave (10.14.1)

Posted on Nov 25, 2018 7:17 AM

Reply

Similar questions

7 replies

Nov 25, 2018 1:29 PM in response to bwgunia

FWIW, I have started to get that as well just recently (perhaps a week

ago) when I get to the New York Times page and then click the button

to login. All seems fine as I login and return to the home page. As others

may have suggested, it is likely some recent change in their site coding.


FWIW, I have seen that on occasion before but it was usually when

closing a window or tab and actually as far back as Sierra.

Nov 25, 2018 7:49 AM in response to bwgunia

stevejobsfan0123 is most likely correct about the unloading.


I can leave the main page from my Mac where you choose a game without getting the message. From within a game, I get the message.


You'd think the iPad would get that message then, too. But it doesn't. Probably because while it is "Safari", it's a complete rewrite of the browser so it will run in iOS. You can't just drop Safari from a Mac into iOS and expect it to run. So, different code for the browser itself - different results.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

are you sure you want to leave this page pop-up

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