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

Dropbox Bulk Link Expiry Setter

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

Dropbox Bulk Link Expiry Setter is a file management tool that streamlines the process of updating link expiration settings for multiple Dropbox files and folders. Instead of manually opening each item's share dialog, navigating to link settings, finding the expiry option, and setting a date—a process that can be tedious when managing many shared links—this script automates the entire workflow. It scans the current Dropbox file list or shared links page, identifies visible files and folders with their current link expiry status, and presents them as a scrollable checklist. You can select individual items, use Select All/Deselect All toggles, choose between setting a new expiry date (with configurable days) or removing expiry entirely, and update all selected items in configurable batches. The tool handles the complete interaction sequence: clicking the Share button, opening the link settings, setting or removing the expiry date, and saving the changes. Real-time progress updates show how many items have been updated, and the list automatically refreshes after completion. This is ideal for Dropbox users who need to manage shared link security across large file collections.

WHERE IT RUNS

This script operates exclusively on Dropbox (*.dropbox.com/*) as a userscript injected through the BotGentz extension. It runs within the context of your current browser tab and cannot access other tabs, bookmarks, history, or downloads. The script reads the page DOM to identify files and folders using Dropbox's selectors (.file-row, .item-row, .list-item), extracts item names and current expiry information, and interacts with Dropbox's native UI controls—Share buttons, link settings panels, expiry pickers, and save/confirm buttons—to perform expiry updates. All operations occur locally in your browser; no data is sent to external servers.

HOW TO USE

1. Navigate to any Dropbox folder or shared links page containing files/folders with links.

2. Click the BotGentz extension icon and select "Dropbox Bulk Link Expiry Setter" from the script list.

3. The panel opens on the right side of the page. It automatically scans the current page for items.

4. Review the displayed items, showing names and current expiry status.

5. Select the action: "Set Expiry Date" or "Remove Expiry" from the dropdown.

6. If setting expiry, enter the number of days from today when the link should expire (1-365).

7. Adjust the "Batch size" number (default 3) to control how many items are processed per batch.

8. Toggle "Confirm before each batch" if you want a confirmation popup before each batch executes.

9. Check the boxes next to items you wish to update. Use "Select All" or "Deselect All" for quick selection.

10. Click "Update Link Expiry" to begin. The script processes items in batches, shows progress, and handles errors.

11. After completion, the item list automatically refreshes showing your updated expiry settings.

WHY IT WORKS WHERE OTHERS FAIL

Many Dropbox automation tools fail because they attempt to call Dropbox's internal API endpoints or rely on brittle DOM selectors that change with every Dropbox UI update. This script takes a resilient approach: it locates the actual interactive DOM elements Dropbox renders—the Share button, the link settings panel, the expiry date picker or remove option, and the save/confirm button—and triggers native click events and value changes on them, exactly as a human would. When the Share button is clicked, the script waits for the share dialog to appear, then navigates to link settings. It sets the expiry date using both the native value setter and dispatches "input" and "change" events, ensuring Dropbox's JavaScript UI registers the update. For removing expiry, it finds and clicks the appropriate toggle or button. Between operations, the script introduces controlled delays (300ms between actions and 500ms between batches) to mimic human interaction speed and avoid triggering Dropbox's rate limiting. By interacting at the UI layer rather than the framework layer, it remains functional across Dropbox's frequent code updates.

THE PANEL

The script uses BotGentz's BGPanel system, which provides a floating, draggable panel on the right side of your screen. Drag the panel by its header to reposition it anywhere on the page—the panel remembers its position per site and snaps to the nearest edge when released. Click the minimize button to collapse the panel to a small floating bubble; click the bubble to expand it back. Resize the panel vertically by dragging its bottom edge. Press the Escape key to close the panel entirely. All panel state (position, collapsed/expanded) is persisted locally using GM_setValue, so your preferences survive page reloads.

PLEASE NOTE

This userscript requires the free BotGentz browser extension—it is not a standalone application. Dropbox periodically updates its website layout and UI components; if the script stops working, an updated version may be released. The script updates link expiry settings; ensure you have selected the correct action and days before applying. This script does not store, transmit, or process any of your Dropbox data outside your local browser. It does not access your password, hidden inputs, or file inputs. All expiry updates are performed through Dropbox's own authenticated session using the official user interface. Use responsibly and verify expiry settings before applying to multiple items.

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.