Input Guardian

Enhanced input preservation with security checks, performance optimizations, and user controls.

Seznam verzí skriptu, při kterých došlo ke změnám v kódu. Zobrazit všechny verze.

  • v2.0 24. 03. 2025
    • Added a cache using Map for faster access to recently used inputs
    • Optimized event listener using event delegation
    • Improved IndexedDB operations in the cleanupOldEntries function
    • Enhanced restoreInputs function to use a map of inputs for faster lookups
    • Deferred the cleanup operation using setTimeout
    • Optimized the input event handler to check for relevant elements first
    • Updated DEBOUNCE_TIME to 500ms for better performance
    • Improved error handling and logging
    • Added more detailed comments for better code readability
  • v1.0 24. 03. 2025