By default, Safari blocks 3rd party cookies. That means that embedded pads won't render as their authorization cookies can't be set.

Hackpad has a redirect URL we can use to set a cookie before a pad is loaded. Since there are situations where a Hackpad may be rendered as the result of a POST request, we can't just redirect before loading the pad. However, we can set the cookie on login so any pads will load properly.

https://hackpad.com/?setCookie=1&contUrl= is the URL to use.

CommentFileSizeAuthor
#1 2054881.1-safari-cookie.patch1.21 KBdeviantintegral

Comments

deviantintegral’s picture

Status: Active » Needs review
StatusFileSize
new1.21 KB
deviantintegral’s picture

Status: Needs review » Fixed

Committed as daa0cac.

deviantintegral’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Fixed » Patch (to be ported)