Input Guardian

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

Ниже показаны версии этого скрипта, в которых изменялся код. Показать все версии.

  • вер. 2.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
  • вер. 1.0 24.03.2025