Shared Doc Link Cleaner
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
The Shared Doc Link Cleaner scans any webpage for all anchor links (a[href]) and identifies shared document links from platforms like Google Docs/Sheets/Slides, Microsoft Office 365, Notion, Dropbox, Box, Figma, Miro, Slack, and GitHub. For each detected shared link, it extracts a clean, canonical URL by removing tracking parameters (utm_source, utm_medium, fbclid, gclid, etc.), view‑only flags, and user‑specific tokens. The tool then displays both the original and cleaned links side‑by‑side, highlights which links were cleaned, and provides a one‑click copy button for each cleaned link. It can optionally replace the original link on the page with the cleaned version. This helps you share cleaner, more professional-looking links without unnecessary tracking clutter.
WHERE IT RUNS
It runs as a draggable overlay panel inside the BotGentz extension on any website—project management tools, documentation pages, team wikis, email clients, or any page with shared document links. It works on any framework (React, Vue, Angular, vanilla HTML).
HOW TO USE
1. Install the free BotGentz extension.
2. Navigate to any page with shared document links.
3. Click the BotGentz icon and select "Shared Doc Link Cleaner" from the tools menu.
4. Click "Clean Links" to scan the page and clean all shared links.
5. Review the report showing total links, cleaned links, and the cleaned URLs.
6. Copy individual cleaned links using the copy button next to each link.
7. Click "Copy All Cleaned" to copy all cleaned links at once.
8. Enable "Auto-replace links" in settings to automatically replace original links on the page.
9. Drag the panel to reposition it, resize it, collapse it, or press Escape to close.
THE ACTUAL MECHANISM — platform-specific URL cleaning with configurable parameter removal
This tool scans the DOM for all anchor elements with href attributes. For each link, it detects the platform based on the hostname using a set of domain patterns for Google Docs, Office 365, Notion, Dropbox, Box, Figma, Miro, Slack, and GitHub. Each platform has a custom cleaning function that removes platform‑specific tracking parameters, view‑only flags, and user tokens (e.g., Google's `usp`, `authuser`, `pli`; Office's `web`, `cid`, `authkey`; Notion's `mode`, `v`, `p`; Dropbox's `dl`, `preview`). A general fallback cleaning function removes common tracking parameters (UTM, fbclid, gclid, msclkid, etc.) across all URLs. The tool uses the URL API to parse and manipulate URLs safely. The report displays each link with its platform tag, cleaned URL, and a status indicator. All settings are persisted via GM_setValue.
THE PANEL
The panel is fully draggable by its title bar and snaps to the nearest edge of the viewport when released. You can resize it horizontally by dragging the left or right border; the height expands to fit content up to a maximum, with scrolling inside the report list. A collapse button minimizes the panel to a small floating chip showing "⚙️ Link Cleaner" — click it to expand back. Press Escape at any time to close the panel entirely. The panel remembers its last position, size, and expansion state per domain via localStorage.
PLEASE NOTE
- This tool requires the free BotGentz extension (available for Chromium‑based browsers and Firefox).
- The tool scans all links on the page—some links may be internal or non‑shared; they will be shown but not cleaned.
- Auto‑replace modifies the page's DOM by updating href attributes—use with caution on pages where link integrity is critical.
- The cleaning rules are based on common patterns and may not cover every platform variation. The general fallback removes standard tracking parameters.
- No page content is ever sent to any server—all cleaning happens locally in your browser. Only anonymized usage metrics (panel open/close, clean runs) are collected; you can disable this in the extension settings at any time.