Safari Facebook Login

Hello,


I have a "problem" with Safari when trying to log-in to Facebook. After I insert my credentials and hitting enter, a small window (attached) pops up. When I choose "Leave Page", it brings me to my News Feed. But when I click "Stay on Page", it just stays on the facebook main page however I am unable to log-in after a short period (~20sec). This happened recently and was wondering how to stop it. Usually, it never gave me the option; I just had to put in my credentials then login. Also, in the midst of typing down my credentials, the window shows again if I try to exit the tab. Just to note, it appears to only happen with Safari and Facebook as I tried it on Firefox and Chrome along with other websites and no window ever shows, just smooth login.


User uploaded file



Machine: Macbook Pro (13-inch, 2017, Two Thunderbolt 3 Ports)

macOS: High Sierra Version 10.13.4

Safari: Version 11.1


Thank you.

MacBook Pro with Retina display, macOS High Sierra (10.13.4), null

Posted on Apr 16, 2018 4:17 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 16, 2018 6:20 AM

If you have Dashlane installed:


There is a problem with Dashlane if you have updated Safari to Safari 11.1 and using Facebook.


Before you login to Facebook, disable Dashlane.

Safari > Preferences > Extensions > Dashlane

Dashlane is aware of the issue.

Ref: Eloise https://discussions.apple.com/thread/8340755


Related: If Safari is slow, stops responding, quits unexpectedly, or has other issues

https://support.apple.com/en-us/HT203353

Similar questions

48 replies
Question marked as Top-ranking reply

Apr 16, 2018 6:20 AM in response to kevin5526

If you have Dashlane installed:


There is a problem with Dashlane if you have updated Safari to Safari 11.1 and using Facebook.


Before you login to Facebook, disable Dashlane.

Safari > Preferences > Extensions > Dashlane

Dashlane is aware of the issue.

Ref: Eloise https://discussions.apple.com/thread/8340755


Related: If Safari is slow, stops responding, quits unexpectedly, or has other issues

https://support.apple.com/en-us/HT203353

Apr 16, 2018 7:42 PM in response to kevin5526

Try setting up another admin user account to see if the same problem continues. Also try the Safe Mode.


Isolating an issue by using another user account


Safe Mode - About


Safe Mode Startup – El Capitan. also Sierra


If it works in the Safe Mode, try running this program when booted normally and then copy and paste the output in a reply. The program was created by Etresoft, a frequent contributor. Please use copy and paste as screen shots can be hard to read. Click “Share Report” button in the toolbar, select “Copy to Clipboard” and then paste into a reply. This will show what is running on your computer. No personal information is shown.

Etrecheck – System Information

Apr 21, 2018 7:19 AM in response to Imacexeter

Try setting up another admin user account to see if the same problem continues. Also try the Safe Mode.


Isolating an issue by using another user account


Safe Mode - About


Safe Mode Startup – El Capitan. also Sierra


If it works in the Safe Mode, try running this program when booted normally and then copy and paste the output in a reply. The program was created by Etresoft, a frequent contributor. Please use copy and paste as screen shots can be hard to read. Click “Share Report” button in the toolbar, select “Copy to Clipboard” and then paste into a reply. This will show what is running on your computer. No personal information is shown.

Etrecheck – System Information

Apr 16, 2018 11:34 PM in response to kevin5526

This is a diagnostic test.


Please run EtreCheck and post the report here.


https://etrecheck.com


Click “Free Download” button, open Downloads folder, click on it to open, and then select ”Open”.

Click on the bouncing EtreCheck icon in the Dock.

“Choose a problem” from the popup menu box, and then “Start EtreCheck” in the dialog.


Click “Share Report” button in the toolbar, select “Copy to Clipboard” .

Paste it into the reply.

Apr 24, 2018 6:45 AM in response to kevin5526

Honestly I hate asking users to take probably unhelpful steps.

There is something amiss here with Safari and Facebook connection.

Clearing History is like a low level "Reset Safari".

There are other advanced steps, a user can take to fully reset Safari.

Try it if you wish.

1. Backup the Mac.

2. https://support.apple.com/guide/safari/clear-your-browsing-history-sfri47acf5d6/ mac

Apr 26, 2018 6:30 AM in response to kevin5526

~/Library/Safari/History.db


~/Library/Safari/LastSession.plist


~/Library/Safari/Saved Application State/com.apple.Safari.savedState



I am going to use Services menu to locate and show the files.


Double click the each entry posted above and then right click on it.

Choose “Services” from the contextual menu and then “Show in Finder”.

A Finder window will open showing you the item.

Note: All files may not be highlighted.

Right click on it and choose “Move to Trash”.



A demo here:


~/Library/Safari/History.db

Other History files mentioned will be shown right underneath

User uploaded file

Apr 29, 2018 8:40 PM in response to kevin5526

This is the product of an unfortunate combination of Facebook javascript and Safari behavior. The script below which is loaded by facebook.com will trigger the function "_warnBeforeLeaving" (line 903) when we try to log in. I assume the function was intended to only trigger if the user were actively editing a text input box. Something goes wrong with the script and will automatically trigger the warning without the user actually clicking an input box.


https://static.xx.fbcdn.net/rsrc.php/v3iWMM4/yB/l/en_US/oyoERvu8PHO.js


Bottomline, there is nothing wrong with your Mac or Safari, just Facebook is the usual mess. I would not try any of the recommendations that are having you change system settings or delete certain files unless you are certain your have good time machine backups available.

Apr 19, 2018 5:32 AM in response to kevin5526

I don't see anything here that leads to any helpful suggestion.

This is the fourth case I came across in these forums.

One involved Dashboard widget.

Another one involved problem with extensions

I don't know where the problem is coming from. Safari? Facebook?

I would power cycle the router.

Turn off the router, unplug it from the wall, wait a while, plug it back in, turn on the router

and wait until all lights are lit properly before using it.

Only thing I haven't suggested is trying Safari Technology Preview.

Safari Technology Preview is a self standing, easily installable and removable beta version of Safari from Apple.

You can try it if you wish. https://developer.apple.com/safari/technology-preview/

Apr 25, 2018 11:20 PM in response to kevin5526

Thanks kevin5526.

This pop-up is a built in alert in all browsers.

But the website itself triggers it.


These steps will clean up Safari little bit more.

1. BackUp your Mac.


2. Quit Safari.

Close all windows and quit all other applications.

Hold "option" key down and click "Go" menu in the Finder menu bar.

Library will appear between “Home” and “Computer” entries in the dropdown.


User uploaded file

Select "Library" from the dropdown.

Click the “List” view button in the Finder toolbar.

Move these files to trash and test.


3. Scroll down the list, click open the Safari folder, select History files and LastSession.plist


User uploaded file

Right click on it and choose “Move to Trash”.



4. Scroll down the list and click open the Saved Application State folder.

You should see the com.apple Safari.savedState folder.

User uploaded file

Right click on it and choose “Move to Trash”.


Close Finder window.

Restart and relaunch Safari.

Test.

May 1, 2018 4:59 AM in response to kevin5526

I vaguely recall that in the past I used to have to explicitly click inside the user ID box before I could manually type my login credentials. Also, Safari would auto populate the boxes with my credentials (but without selecting either box). A few weeks ago that behavior has changed. Now the blinky prompt is automatically placed in the user ID box and Safari shows a drop-down menu allowing me to select my user ID. The boxes are no longer auto populated. If I‘m not mistaken it started around the time Apple pushed the latest MacOS security update. Now, I am not sure if this is a new security feature from Apple to protect saved passwords and user names, or rather a new Javascript function pushed by Facebook to automatically select the user ID box when the page is done loading And save the user a mouse click. It could be either. Bottom line, this auto selection is probably what triggers the warn-before-leaving function that has caused us all the headache.

Apr 26, 2018 2:52 AM in response to dominic23

I dislike replying in bad news whenever help arrives, but it seems like it keeps on coming. I followed your instructions and none of the files that requires to be deleted are even there. The only files I have are as follows.


From Safari Folder:

  • AutoFillCorrections
  • Bookmarks
  • Several files beginning with "Cloud"


From Saved Application State Folder:

  • Three "com.apple" files but none with Safari
  • org.mozilla.firefox

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.

Safari Facebook Login

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