This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Article Print-Friendly Generator

Productivity · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryProductivity
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This script extracts the main article content from any page and generates a clean, print-friendly version that's perfect for saving, sharing, or printing. It automatically removes navigation menus, sidebars, advertisements, social media widgets, comments, and other clutter that wastes paper and ink. The generated document includes the article title, author, date, and URL, with options to include images and citations. You can customize typography—font family, size, and line height—and choose between A4 and Letter paper sizes with adjustable margins. The output opens in a new window with a professional layout that prints beautifully or saves as a PDF.

WHERE IT RUNS

The script works on any page with article or long-form content—news sites, blogs, documentation, research papers, tutorials, and more. It automatically detects article containers using a comprehensive set of selectors (article, .post, .entry, .content) and intelligently extracts the main content while filtering out irrelevant page elements. The script runs on any website, adapting to each page's structure.

HOW TO USE

After installation, open the panel and configure your preferences. Choose which elements to include: title, author, date, images, citations, and URL. Toggle "Remove images entirely" to exclude all images from the output. Customize typography with your preferred font family, size, and line height. Select paper size (A4 or Letter) and set margins in pixels. Enable "Auto-open print dialog" to automatically trigger printing when the print-friendly version opens. Click "Generate Print Version" to open the clean article in a new window. Use the keyboard shortcut Ctrl+Shift+P for quick access. The "Copy HTML" button copies the generated HTML to your clipboard, and "Preview in Panel" shows a live preview within the panel.

TECHNICAL MECHANISM

The script uses a multi-stage content extraction and sanitization pipeline. First, it identifies the article container using a prioritized selector strategy with a minimum text threshold of 300 characters and at least 2 paragraphs to ensure it targets real content. Second, it extracts metadata (title, author, date) from common page elements. Third, it clones the container and performs a deep cleaning pass: removing unwanted elements (scripts, styles, iframes, ads, navigation, sidebars, comments, social widgets) using a comprehensive selector list. Fourth, it extracts images and citations from the cleaned content. Fifth, it builds a complete standalone HTML document with embedded print-optimized CSS, including typography, margins, and paper size settings. The output uses `pt` units for print compatibility and includes a media query for print styling. Finally, it opens the document in a new window using `window.open()` with proper print dialog options.

THE PANEL

The settings panel is fully draggable and can be positioned anywhere on your screen. It automatically snaps to the nearest edge when released, keeping your workspace organized. The panel can be collapsed to a small bubble showing only a gear icon, and restored with a single click. Its position is remembered across page reloads using GM_setValue. The panel also responds to the Escape key, which instantly hides it until you click the bubble again. All settings are saved immediately when changed and persist across browser sessions.

PLEASE NOTE

This script requires the free BotGentz extension to run. Print-friendly generation relies on the page's HTML structure, which may vary across sites and change over time. The script works best on standard article layouts; complex or heavily customized pages may require manual adjustment. The script does not access, store, or transmit any personal data or browsing history. All content extraction and generation happens locally in your browser, and no information ever leaves your device.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.