One-click access toolbar!
These are versions of this script where the code was updated. Show all versions.
.20260529 | |-- Performance & Stability | |-- Added Idle Timer for DOM Observer | | -- The script now automatically disconnects the observer after 10 seconds of inactivity to reduce CPU usage. |-- Added Animation Cleanup | -- Implemented automatic cancellation of the animation loop when the button bar is removed from the DOM to prevent memory leaks. | |-- Code Quality | |-- Implemented WeakMap | |-- Event listeners are now stored in a WeakMap instead of directly on DOM elements to prevent pollution. | -- Modernized Syntax |-- Updated code to use modern methods like .remove() instead of removeChild(). | -- Refactoring |-- Improved Post Detection |-- Split the isGamePost function into smaller helper functions (hasRepackCategory, hasDownloadSection). -- Optimized Loops -- Switched to for...of loops in createButtonBar for better performance.
-- The script now automatically disconnects the observer after 10 seconds of inactivity to reduce CPU usage. |
-- Implemented automatic cancellation of the animation loop when the button bar is removed from the DOM to prevent memory leaks. | |-- Code Quality | |-- Implemented WeakMap | |
-- Modernized Syntax |
-- Refactoring |-- Improved Post Detection |
-- Optimized Loops
20260413 small description update