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

WRITES: nothing — read only

Utilities · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryUtilities
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 userscript adds a floating panel to any webpage that displays the current URL, page title, word count, and character count. It provides a "Clear Page" button that removes all visible content from the page body while preserving the panel itself—useful for focusing on the panel's tools or for temporarily hiding cluttered content. A "Restore Page" button reloads the original content, restoring the page to its previous state. The "Copy Page Text" button copies all visible text from the page to your clipboard, stripping scripts, styles, and hidden elements. The "Download as TXT" button saves the visible page content as a plain text file, preserving the text structure while removing all non-text elements. All panel interactions use the BGPanel component, which automatically persists per-site position and collapse state.

WHERE IT RUNS

The script runs on all websites (*://*/*) through the BotGentz extension. It does not require any special permissions beyond those already granted by the extension. It works in any modern browser that supports the BotGentz userscript environment. The panel appears automatically on every page load, ready to assist with content management and extraction.

HOW TO USE

The panel appears as a floating bubble in the bottom-right corner of your browser window. Click the bubble to expand the panel. The panel displays the current page URL, title, word count, and character count—these update automatically as the page content changes. Click "Clear Page" to remove all visible content from the page; the panel remains accessible. Click "Restore Page" to reload the original content—this reloads the page to ensure a clean restoration. Click "Copy Page Text" to copy all visible text from the page to your clipboard. Click "Download as TXT" to download the page content as a plain text file with the page title as the filename.

LIVE TEXT EXTRACTION WITH DOM OBSERVATION

The script extracts visible text from the page by cloning the DOM, removing script, style, and noscript elements, then reading the remaining inner text. This approach preserves paragraph structure and main content while discarding hidden elements and boilerplate. Unlike simple selection-based copy, this method captures all visible text on the page—including content that may be outside the viewport or in scrollable containers. The script uses a MutationObserver to watch for DOM changes and automatically updates the word and character counts in real time as content loads dynamically or changes. The extraction process also handles single-page applications (SPAs) where content is loaded asynchronously, ensuring the counts always reflect the current page state.

THE PANEL

The panel is built using the BGPanel component, which provides a consistent, accessible interface across all BotGentz tools. It supports drag-to-reposition via the header, collapse on click, and stores the panel's position and state per site using GM_setValue. The panel includes a close button (✕) to dismiss it temporarily—the panel reappears on next page load. The settings section includes a dropdown for selecting panel position (bottom-right, top-right, bottom-left, top-left), which is saved globally. The panel has a fixed width of 320px and a maximum height of 80vh, with scrolling for content that overflows. All buttons and controls are keyboard-accessible. The panel is fully self-contained and does not interfere with page functionality.

PLEASE NOTE

Requires the free BotGentz extension to run. The "Clear Page" and "Restore Page" functions modify the page DOM; use them carefully as they remove all visible content from the page body. The page can always be restored by reloading the page manually. The script does not collect, store, or transmit any personal data. Copy and download features only capture visible text content; images, styles, and scripts are not included. The page info counters update in real time as content changes.

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.