Додаје филтере и картицу напретка.
These are versions of this script where the code was updated. Show all versions.
# 📌 Changelog — LeetCode Problem Hider & Filter Panel (v1.3)## 🚀 Performance Improvements- Optimized row scanning to reduce unnecessary DOM operations- Reduced repeated selector queries for better runtime speed- Improved MutationObserver efficiency to only process added nodes- Minimized redundant class toggling to prevent layout reflows- Smarter progress update logic with reduced UI redraws## 📊 Progress Circle Fixes- Fixed progress circle calculation to correctly reflect `solved / total`- Improved stroke rendering using consistent circumference math- Ensured circle starts at top using proper rotation transform- Fixed incorrect or drifting progress visualization issues## 🧠 Stability Improvements- Added safer initialization checks to prevent duplicate execution- Improved sidebar detection for dynamic LeetCode SPA rendering- Prevented race conditions when UI loads before DOM elements exist- More reliable MutationObserver initialization flow## 🎛 UI Enhancements- Increased progress circle size for better visibility- Improved spacing and layout consistency in sidebar panel- Cleaner button rendering logic with fewer DOM writes- Better visual feedback for active filter states## 🔒 Behavior Fixes- Prevents disabling all difficulty filters at once- Ensures filter state is always recoverable- Improved handling of missing or partially loaded LeetCode UI elements## ⚡ Overall- Faster startup on page load- More stable across LeetCode SPA navigation- Lower CPU usage during problem list updates- More accurate progress tracking display---## 📝 NotesThis update focuses on:- Performance optimization- UI stability improvements- Fixing progress visualization accuracy- Making the script more reliable on dynamic page loads
This update is mostly about fixing edge cases and making the script behave more reliably on LeetCode’s constantly changing UI. No new features were added — just polishing, stability improvements, and bug fixes.
localStorage
document.head
#sidebarWidthContainer
solved / total
NaN
v1.2Expanded internationalization support (added 30+ language translations for metadata)Improved localization consistency across @name and @descriptionStandardized wording across all supported languagesMinor correction of several translations for accuracy and readability