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

Universal Bulk Undo Last Action Tool

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

Universal Bulk Undo Last Action Tool solves a common frustration: when performing bulk actions on websites, mistakes happen — you might delete the wrong items, apply changes to the wrong selection, or accidentally modify content. Most websites don't provide an undo system for bulk operations, leaving you to manually fix errors. This tool provides an undo/redo system for any DOM manipulation on the page. It tracks changes made to the page's DOM (element removals, additions, attribute changes, text changes) and stores them in a history stack. A floating panel shows Undo and Redo buttons, a history list of recent actions, and a counter showing how many actions are available to undo. The tool supports undo for actions performed by other BotGentz tools (like the Bulk Action Toolbar, Checkbox Injector, and Range Selector) by automatically tracking their DOM changes. Keyboard shortcuts (Ctrl+Z for Undo, Ctrl+Shift+Z or Ctrl+Y for Redo) make it fast and intuitive.

WHERE IT RUNS

This extension panel runs directly inside your browser as an overlay on any web page. It works independently of any specific site and tracks DOM changes on any page you visit. The tool requires no additional API keys or permissions beyond the BotGentz extension. It integrates seamlessly with other BotGentz tools and tracks changes made by any script or user interaction on the page.

HOW TO USE

After installing the BotGentz extension and activating Universal Bulk Undo Last Action Tool, the tool starts tracking DOM changes immediately on any page. When you perform an action (delete an item, change an attribute, add content, etc.), it's recorded in the history. Click the extension icon in your browser toolbar to open the panel. The panel shows Undo and Redo buttons, the number of available undo/redo actions, and a history list of recent actions. Click "Undo" or press Ctrl+Z to undo the last action. Click "Redo" or press Ctrl+Y (or Ctrl+Shift+Z) to redo a previously undone action. The history list shows the last 10 actions with timestamps. You can adjust the history limit (default 50) in the settings. The tool remembers undo history across page navigation within the same session.

TECHNICAL OPERATION — DOM Mutation Tracking and Action Serialization

This tool uses a MutationObserver to track all DOM changes on the page, including childList mutations (element additions and removals), attribute mutations (changes to attributes), and characterData mutations (text content changes). When a change is detected, the tool captures the before and after states and stores them as an action object with undo and redo functions. The undo function reverts the change (e.g., re-inserting a removed element, restoring an old attribute value), and the redo function reapplies the change. Actions are stored in a history stack with a configurable limit (default 50). The tool uses GM_setValue to persist the history across page reloads within the same session, using a URL-specific key. Keyboard shortcuts are implemented using global keydown event listeners with e.ctrlKey and e.key checks. The tool integrates with other BotGentz tools by tracking their DOM modifications automatically, without requiring explicit hooks.

THE PANEL

The extension panel is fully draggable and remembers its position per site session. It snaps to the nearest edge of the browser viewport when dragged within 50 pixels of any side. You can collapse the panel to a compact title bar using the minimize button, preserving your selection state. The panel resizes vertically by dragging the bottom edge. Press the Escape key to close the panel instantly. The history list updates in real-time as actions are performed or undone.

PLEASE NOTE

This tool requires the free BotGentz extension to function. The script tracks DOM changes using MutationObserver and stores action data in memory and GM_setValue. The history is limited to prevent memory issues; the default limit is 50 actions but can be adjusted in settings. The tool does not store, transmit, or log any page data, content, or user activity beyond the undo history. All operations are performed locally in your browser session. The tool tracks changes made by any script or user interaction on the page, but some complex changes (like deep object mutations or JavaScript state changes) may not be fully reversible. Always test undo functionality on a non-critical page before relying on it for important work. The tool works best with other BotGentz tools but does not require them.

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.