Safari displays warnings about nonsecure or fraudulent websites, and asks for your approval before sharing information about your location with websites that request such information.
Choose Safari > Preferences and click Security.
Deselect any of the following options. For more information about these options, click the Help button in Security preferences.
“Warn when visiting a fraudulent website”
“Allow websites to ask for location information”
“Ask before sending a non-secure form from a secure website”
If you turn off warnings, you lose some of your protection against Internet risks. Share personal information and download items only if you are certain that the website you are visiting is trustworthy.