Open pieterdv opened 4 years ago
I've tried to embed a Github Gist into a page, but the Gist is not showing
I've tried with the following steps:
:hiccup [:iframe {:src "<script src=\"https://gist.github.com/pieterdv/82773fbe036719479d76ab0a4985dc3b.js">\"}]
then I get the following:
and
:hiccup [:iframe {:src "https://gist.github.com/pieterdv/82773fbe036719479d76ab0a4985dc3b"}]
with this message in the dev console:
A cookie associated with a cross-site resource at http://github.com/ was set without the SameSite attribute. A future release of Microsoft Edge will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
SameSite
SameSite=None
Secure
System Information:
Github doesn't allow embedding a gist in an iframe, there isn't anything we can do about this. You might be able to use [[roam/js]] to embed it, but I played around with it and can't figure it out.
I've tried to embed a Github Gist into a page, but the Gist is not showing
I've tried with the following steps:
:hiccup [:iframe {:src "<script src=\"https://gist.github.com/pieterdv/82773fbe036719479d76ab0a4985dc3b.js">\"}]
then I get the following:
and
:hiccup [:iframe {:src "https://gist.github.com/pieterdv/82773fbe036719479d76ab0a4985dc3b"}]
with this message in the dev console:
A cookie associated with a cross-site resource at http://github.com/ was set without the
SameSite
attribute. A future release of Microsoft Edge will only deliver cookies with cross-site requests if they are set withSameSite=None
andSecure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.System Information: