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

Bulk Tab Bookmark-and-Close

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 userscript helps you declutter your browser by bulk-bookmarking and closing multiple tabs at once. It scans any webpage for visible tab-like elements, hyperlinks, or a list of open tabs (e.g., in tab management pages, browser extensions, or tab lists), extracts page titles and URLs, displays a list of tabs with checkboxes, and allows you to select multiple tabs to bookmark and close. It exports the list of selected tabs as bookmarks (HTML or text), shows the number of tabs selected, and maintains a list of already bookmarked tabs to avoid duplicates. The script simulates the bookmark and close action by generating a bookmark list and marking tabs for closure.

WHERE IT RUNS

The script works on any webpage with links, tab elements, or tab lists—tab management pages, browser extension interfaces, or any page with a list of URLs. It runs entirely within your browser, reading only the visible content of the current page. It does not track your browsing history, access other tabs, or send any data externally. All tab data and bookmark history are stored locally.

HOW TO USE

After installation, open the panel by clicking the tool's icon in the BotGentz sidebar. Click "Scan for tabs" to extract tabs from the current page. The panel displays a list of tabs with checkboxes, showing the title and URL preview. Select the tabs you want to bookmark and close—use "Select All" to choose all. Click "Bookmark & Close Selected" to mark them as bookmarked and add them to your history. Click "Export Bookmarks" to download a bookmark file (HTML or text). Use "Clear History" to reset the bookmark history.

THE TECHNICAL MECHANISM

This script uses DOM traversal to extract links and tab-like elements from the page. It scans for anchor tags with href attributes, elements with data-url or data-link attributes, and elements with "tab" class names or role="tab". It extracts the page title and URL for each tab, deduplicates by URL, and displays them in a checklist. The script stores the bookmark history in GM_setValue so you don't see already-bookmarked tabs in future scans. The export function generates an HTML bookmark file (compatible with browser import) or a plain text file with titles and URLs. All operations are client-side and do not send any data externally.

THE PANEL

The panel is draggable anywhere on the screen and remembers its position between sessions. It can be collapsed to a small floating bubble to minimize distraction, and expanded again with a single click. The panel's width can be adjusted, and pressing the Escape key closes it instantly. All settings—bookmark history and auto-scan preference—are persisted locally using GM_setValue, so your data remains intact across page reloads and browser restarts.

PLEASE NOTE

This userscript requires the free BotGentz extension to function. The script extracts tabs from page text—it may not capture all open tabs. The script helps you track which tabs you've bookmarked—it does not actually bookmark or close tabs in your browser. The export generates a bookmark file that you can import into your browser. The extraction relies on the current structure of the page—if the page uses a different tab format, the script may need to be updated. The script does not access your browser's tab or bookmark API; it only reads what is visible on the page. No data from your browsing is stored or transmitted anywhere—all processing occurs entirely in your browser.

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.