This is the page with the cookie fix applied by using the external workaround. All needed code is already included in the ai_external.js. Therefore please to to the "external workaround" tab in the administration for more details. See here for a working demo. In the example below the file framed_ai_external_js.html, is on the remote domain www.mdempfle.de in the folder "fix". The example includes the page framed_ai_external_js.html that does set a cookie, tries to read it again and does include the ai_external.js. So depending on your browser settings the 3rd party cookie is accepted or not.
To enable the fix please do the following steps:
- Apply the external workaround like explained in the administration on the "external workaround" tab by adding the ai_external.js. For this fix I recommend to include the ai_external.js to the header because otherwise the whole page is loaded and executed and the redirect back to the parent does happen really late!
- Set safari_fix_url like explained below.
The example below enables the fix for all browsers and shows a message if the fix cannot be applied. The short code parameter for this demo safari_fix_url="all:message:src". Simply remove all or message if you don't want to use this feature.
- "all:" enables the fix for all browsers
PS: If you want to test this whole feature here and you don't have a MAC I recommend to test with Firefox because there you can set all 3 possible values for the 3rd party cookies!
If the workaround is applied once you need to delete the cookies "aifixed" and "aichecked" from www.tinywebgallery.com and the cookies "safari_cookie_fix" and "the_cookie" from www.mdempfle.de to try it again. Otherwise also the example without a fix is now working.
[advanced_iframe width="50%" height="200" src="//www.mdempfle.de/fix/framed_ai_external_js.html" safari_fix_url="all:message:src"]