There is a special linking to some sites in chat, also known as "onebox".
- What is the full list of supported and integrated sites?
- Are oneboxes updated if the resource behind them is changed or removed?
There is a special linking to some sites in chat, also known as "onebox".
The current list of integrated (we call this onebox, or oneboxing, ala search engines) sites is:
[Link title](https://example.com "hover title") will be stripped out.Note that the link must be the only thing in the chat message, after a possibly replying-to link (:123456). In particular, a message containing @user won't onebox.
No. Once created, oneboxes are static, not dynamic. The HTML for the onebox is rendered at the time the chat message containing the onebox is posted or edited and is stored in the database along with the chat message's source text. Later changes to the oneboxed resource will not affect the onebox unless the message is edited, which will trigger the onebox to be re-rendered (or not rendered if the resource that's being oneboxed has been deleted).
For example, if a onebox is created and the thing it links to is later deleted, the onebox will still contain the content that was deleted. Similarly, if the title of a question changes, oneboxes of the question will not be updated. In both cases, the onebox in chat will stay as is. Clicking a link to a comment that has been deleted, for example, will still take you to the post (if it hasn't also been deleted), it just won't scroll to where the comment used to be, unless you have permission to see deleted comments (e.g., you are a moderator on that site or a Community Manager). Links to deleted answers will scroll to the deleted answer, if the user clicking the link has permission to see the deleted answer (e.g., enough reputation to see deleted posts or is the author of the deleted answer).
The same thing also applies if the site from which the content was oneboxed was on the list of supported and integrated sites at the time the message was posted, but was later removed from the list. As an example, prior to May 2019, Twitter tweets could be oneboxed, but support for that and four other sites were then removed for security reasons - messages with oneboxed tweets remain as is unless edited by a moderator, in which case they will revert to being plain links.
The only exception to this rule is any images in the onebox. Images (e.g., user avatars, site logos, and YouTube thumbnails) are hotlinked from the site in question, so any changes to those will be reflected in the onebox. For instance, if a YouTube video is removed or made private, its oneboxes will no longer show its thumbnail and a placeholder thumbnail will show instead. However, the core HTML of the onebox (which includes the video title in the example) will remain static, as above.
All of the above paragraphs also apply even if the message is deleted and later undeleted.