Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8282345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:20:34+00:00 2026-06-08T10:20:34+00:00

Safari on a Mac has a Block cookies set to From third parties and

  • 0

Safari on a Mac has a Block cookies set to From third parties and advertisers by default.

It stops the SharedObject from working if the embedded swf is from a different domain.

This problem isn’t new:
Safari 3rd party cookie iframe trick no longer working?

Has anyone found a solution (other then passing the Session ID through GET/POST params in each request)?

NOTE:
I have no access to the site, which is embedding the swf, so there is no way to alter that HTML or to put any JavaScript, etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T10:20:35+00:00Added an answer on June 8, 2026 at 10:20 am
    function setCookie(){
       if ( navigator.userAgent.indexOf('Safari') != -1 &&
            navigator.userAgent.indexOf('Chrome') == -1 ){
          window.open('safari.php','','width=200,height=100' );
       }
    }
    
    // then we set the cookie in safari.php
    

    Source: http://www.reizbombardement.de/archives/safari-5-1-4-enforces-cookie-policy

    //UPDATE 23 July 2013

    This crappy way of fixing this issue used to work until Safari 6.

    Please see @Fabio Antunes and @ncubica comments below.

    //UPDATE 23 July 2013 by Fabio Antunes

    Here’s my code

    On the landing page we’ll have a brief description about the app and a button saying something like “enter”. I’m using jquery to simplify this process, creating a listener for the click event, I’ll just put the javascript code, since I’m assuming you already have the rest of the html code for the landing page:

    $(document).on("click", "#bt-landing", function(){
    var left = (screen.width/2)-(500/2);
                var top = (screen.height/2)-(250/2);
                window.open('URL_FOR_THE_PHP_THAT_WILL_CREATE_THE_SESSION', '_blank', 'width=500,height=250,toolbar=0,location=0,menubar=0, top='+top+', left='+left);
    });
    

    This you’ll open a small window, with 500 by 250 px, centered on your screen.

    The code I have for the small window is this:

    <?php setcookie("safari_cookie", "1");?>
        <html>
            <head>
                <meta charset="utf-8">
                <title>THE NAME OF YOUR APP OR SOMETHING THAT THE USER WE'LL READ AND ASSUME THAT THIS SMALL WINDOW IS RELIABLE</title>
            </head>
            <body>
            <script type="text/javascript">
            $(document).ready(function(){
               setTimeout(function(){window.close()},1000);
            })
            </script>
            </body>
        </html
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The context is in a Mac's Safari. I'm creating a HTML button that has
I am running a site using Umbraco 4. In Safari (Mac) when I refresh
b.send_keys :tab That line above doesn't work with safari on my mac. I am
I used the cocoa of MAC to develop a plugin with safari , I
How do I open a browser window (Safari) with Ruby on a Mac and
I am using Mac OS X Leopard 10.5.8, which is running Safari 4.0.3. My
I'm trying to get my mac app to do something whenever Safari is launched.
This bug ONLY affects the Mac (both Safari and Firefox) and ONLY on the
I'm using Adobe Air 1.5 with Safari 4.0.3 on Mac OS Snow Leopard. When
I'm working now on a page that has a column of boxes styled with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.