HTML pages in a shared chat

Some chats contain an interactive HTML page, for example a dashboard or a small tool that Oda built for the conversation. When the chat is shared, the page opens in a card of its own inside the read-only copy. This page covers that card: what it shows, what the page can and cannot do, and how to keep a copy of it.

For the rest of the shared view, see A shared chat on the web and, in the desktop app, Chats shared with you.

What the card shows

What the page can and cannot do

The card confines the page: the frame around it allows scripts only, and everything else is denied by default.

Copy or save the page

Colours and themes

Questions, answered

Do the page's scripts run in a shared chat?

Yes. The page is interactive: it runs its own scripts inside a frame that allows scripts only, so its buttons, tabs and small tools work when you use them. This is not the same as the side panel preview for an HTML file on your computer, which is static by default; see Preview images and HTML.

Can the page send or fetch data?

No. The card gives the page no network access of its own: it cannot call services or send data anywhere. The only files it may load from outside are scripts, styles and fonts from two well-known code-hosting sites; nothing else is reachable.

Why does a link in the page do nothing?

Link clicks that would leave the page and form submits are blocked on purpose, so the card never navigates away. Links that jump to a place inside the same page still work, and the page's own scripts keep responding.

Can the page open a pop-up window?

No. The card blocks pop-ups, so the page cannot open a new window; everything it shows stays inside the card.

The page card is small. Can I make it bigger?

Yes. Drag the card's bottom edge to resize it: the page starts about 420 pixels tall (about 520 on wider screens) and cannot go below about 200 pixels.

Can I save the page to my computer?

Yes. Use the save control, Save as .html file, and your browser downloads a standalone document: the page with its own security rules and the theme you see. The file is named after the page's title, with characters that file names do not accept removed and spaces replaced by underscores, for example Monthly_sales.html. A page without a title saves as page.html, and a very long title is cut at 100 characters.

What does the copy control give me?

The page's raw HTML, on your clipboard. Use it when you want the page's code to reuse or edit; use Save as .html file when you want the page as a file, with its theme and security rules.

Does the page follow my light or dark mode?

Yes. The page takes its colours from your theme and your company's palette, and when the theme changes it is updated in place rather than reloaded, so anything you were doing in it stays.

Does the page look the same in the browser and in the desktop app?

Yes. The two viewers are kept identical on purpose, so a page renders the same whether the share is read in the browser or from Shared with me in the desktop app.

Do all the pages in a long shared chat load at once?

No. Each page card loads when it comes into view, so a conversation with several pages loads them as you scroll.