You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mastodon-embed class is needed to determine which iframe is a Mastodon embed. Without it, or other specific identifiers, it would be necessary to check each domain in an iframe to see if it's a Mastodon server.
The text was updated successfully, but these errors were encountered:
Example post: https://mastodon.social/@Mastodon/110640658973976934
When embedding from mastodon.social, embed code looks like this:
When embedding the same post from my own instance stefanbohacek.online:
When embedding a post from my own instance, the class is present.
The
mastodon-embed
class is needed to determine which iframe is a Mastodon embed. Without it, or other specific identifiers, it would be necessary to check each domain in an iframe to see if it's a Mastodon server.The text was updated successfully, but these errors were encountered: