When running a notebook that has been exported/downloaded as HTML from edit mode, there is a banner that links to a popup that allows you to "Try in browser with WebAssembly". This url encodes the entire code contents of the notebook, and if clicked will send all of this code to marimo's servers (marimo.app).
This is a big risk for those who are running marimo and who cannot have their IP/code sent outside of their infrastructure. And this link is very easily clicked, even accidentally.
It would be good for us if there could be a mechanism when running marimo (edit mode or run mode) to prevent exported/downloaded notebooks from having this banner/link present. Otherwise we will have to block the marimo.app domain, which would be a shame as it would break the marimo docs website.
banner:

code in link:

code locations:
https://github.com/marimo-team/marimo/blob/main/frontend/src/components/static-html/static-banner.tsx#L69
https://github.com/marimo-team/marimo/blob/main/frontend/src/core/wasm/share.ts#L8
When running a notebook that has been exported/downloaded as HTML from edit mode, there is a banner that links to a popup that allows you to "Try in browser with WebAssembly". This url encodes the entire code contents of the notebook, and if clicked will send all of this code to marimo's servers (marimo.app).
This is a big risk for those who are running marimo and who cannot have their IP/code sent outside of their infrastructure. And this link is very easily clicked, even accidentally.
It would be good for us if there could be a mechanism when running marimo (edit mode or run mode) to prevent exported/downloaded notebooks from having this banner/link present. Otherwise we will have to block the marimo.app domain, which would be a shame as it would break the marimo docs website.
banner:

code in link:

code locations:
https://github.com/marimo-team/marimo/blob/main/frontend/src/components/static-html/static-banner.tsx#L69
https://github.com/marimo-team/marimo/blob/main/frontend/src/core/wasm/share.ts#L8