How to Turn off "Accept Third-Party Cookies" on Safari
Every Mac comes with the Safari Web browser pre-installed, and you can download the PC version if you don't have a Mac. When you open a Web page in Safari, the site may put cookies on your computer to store data that the site uses to identify you and keep track of your browsing activities. Websites sometimes make arrangements with third-party advertisers to place cookies on your computer when an ad loads, even if you don't click on the ad, so a company may track your browsing habits without your knowledge. However, you can set Safari not to accept these third-party cookies.
Click "Safari" from the menu, then click "Preferences." The preferences window appears.
Click on the "Security" tab.
Click on the "Only From Sites I Visit" option under the "Accept Cookies" section to make Safari accept cookies only from the sites you visit. Click "Never" if you want Safari to never accept any cookies while you visit websites.