Mural Board Export to PDF Button
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
This userscript adds a prominent "Export to PDF" button directly to your Mural board toolbar, eliminating the need to navigate through menus or use browser workarounds. When clicked, the button triggers the browser's print dialog with print-to-PDF settings optimized specifically for Mural boards. The board content is automatically scaled to fit the page, UI chrome (toolbars, sidebars, menus) is removed for a clean export, and a professional header is added with the board name and export date. The script also offers optional metadata including the total number of elements on the board. You can choose between landscape or portrait orientation and toggle fit-to-page scaling on or off. This is invaluable for workshop facilitators, designers, educators, and project managers who need to export Mural boards for presentations, documentation, client sharing, or archival purposes. Instead of taking screenshots or using complex workarounds, you get a clean, professional PDF with one click.
WHERE IT RUNS
The script runs on all Mural web application pages at *.mural.co/*, with automatic detection of board pages (paths containing /boards/ or /workspaces/). It works across all Mural interfaces by detecting the board container and injecting the export button into the toolbar or a suitable location. The script detects dynamic content loading and re-injects the button when navigating between boards. It runs across the entire Mural domain, ensuring coverage whether you're viewing a board, in full-screen mode, or navigating your workspace.
HOW TO USE
Install the script via the BotGentz extension and open any Mural board. An "Export PDF" button will appear in your toolbar (or at the top-right of the page if no toolbar is detected). Click the button to trigger the export process—the script prepares the board for printing, opens the browser's print dialog, and automatically applies print-to-PDF settings. From the print dialog, choose "Save as PDF" to download your file. Use the panel controls to customize your export settings: choose between landscape or portrait orientation, enable or disable fit-to-page scaling, and toggle the inclusion of metadata (board name, date, and element count). The "Refresh button position" button manually re-injects the export button if it doesn't appear after navigation.
THE MECHANISM - CLONING, CLEANING, AND OPTIMIZED PRINT RENDERING
This script works by creating a temporary print-optimized clone of your board rather than printing the live page. When you click export, the script identifies the board content container using multiple selector strategies, then clones the entire board element to avoid modifying the live DOM. The clone is cleaned by removing UI elements like buttons, menus, toolbars, sidebars, and controls. The cleaned clone is inserted into a hidden print container with CSS that hides all page elements except the export content. The script injects print-specific styles that control page size, margins, and orientation based on your preferences. When the print dialog is triggered via window.print(), the browser renders only the visible print container. After printing or closing the dialog, the temporary container is removed. This approach provides clean, professional results without modifying the live Mural interface.
THE PANEL
The control panel appears as a floating, draggable element that you can position anywhere on the Mural page. Drag by the header to reposition it, and the position is saved per site using GM_setValue so it stays where you left it across sessions. Release the panel near any edge and it snaps into place, keeping your workspace organized. Click the panel header to collapse it into a small bubble showing only the document emoji (📄), minimizing distraction while keeping controls accessible. Drag from the bubble to restore the full panel. The panel automatically resizes to fit its content and includes all export settings and action buttons. Press the Escape key to quickly collapse the panel to its minimized state. The panel remains visible across page navigation within Mural, with the export button re-injecting automatically as you move between boards.
PLEASE NOTE
This script requires the free BotGentz extension to function. It is designed for Mural users who need to export boards to PDF for presentations, documentation, or sharing. The script reads only visible board content from the DOM—it does not access Mural's API, your account credentials, or any sensitive information. All settings (button visibility, orientation preference, metadata toggle, fit-to-page preference, and panel position) are stored locally using GM_setValue and never leave your browser. The script does not modify your Mural data—it only creates a temporary clone for print rendering. The export uses your browser's built-in print-to-PDF functionality, so PDF quality depends on your browser's print engine. For best results, use Chrome, Edge, or other browsers with robust print-to-PDF support. The script attempts to clean the board clone but may not remove all UI elements in every Mural layout; minor manual cleanup may be needed after export.