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

Bookmark Bar Folder Auto-Sorter

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 brings order to your cluttered bookmark bar by automatically sorting bookmarks and folders in the visible toolbar. Choose from alphabetical sorting by name, sorting by URL, or sorting by the date the bookmark was added. You can also set the sort direction to ascending (A→Z) or descending (Z→A), and optionally enable case-sensitive sorting for precise ordering. Once configured, the script can sort bookmarks instantly with a single click, or automatically on every page load—keeping your bookmark bar consistently organized without any manual effort.

WHERE IT RUNS

The script works on every website you visit, because the bookmark bar is rendered by the browser itself and appears consistently across all pages. It runs in Chrome, Firefox, Edge, Brave, and any other modern browser that supports the BotGentz extension. The script detects your browser's native bookmark bar UI and operates directly on the visible bookmark elements, making it compatible with all browser versions and themes.

HOW TO USE

After installation, open the script's panel from the BotGentz menu. Select your preferred sort order from the dropdown: Alphabetical (by name), By URL, or By Date Added. Choose whether to sort in ascending or descending order. Toggle case sensitivity on if you want uppercase and lowercase letters to be treated differently. Enable "Auto-sort on page load" to have the script reorganize your bookmark bar automatically every time you navigate to a new page. Click "Sort Now" at any time to manually trigger a sort. Use "Reset to defaults" to restore all settings to their original values.

TECHNICAL MECHANISM

Unlike browser extensions that rely on the chrome.bookmarks API (which is unavailable in userscripts), this script works by directly manipulating the DOM elements that represent your bookmark bar. It uses a comprehensive set of CSS selectors to locate the bookmark toolbar across different browsers and themes, then extracts all bookmark items from the bar. For each bookmark, it captures the display name, the URL, and folder status. The script then performs a stable sort on these items using JavaScript's built-in array sorting, applying your chosen criteria and direction. Folders are automatically grouped at the top of the bar for easy access. Finally, the script reorders the DOM elements in the bookmark bar container without reloading the page, preserving all click handlers and accessibility attributes.

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 tidy. 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. The bookmark bar HTML structure varies between browsers and browser versions, and may change with updates. If the script cannot find your bookmark bar or stops working after a browser update, check for script updates or contact the developer. The script does not access, store, or transmit your bookmarks, browsing history, or any personal data. All sorting logic runs 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.