Autosave Form Inputs and Display Saved Entries

Autosaves and displays entries from a single input field. Entries can be recovered or deleted. Dropdown only shows when clicking on the input field

Verzia zo dňa 13.08.2024. Pozri najnovšiu verziu.

Autor
Lawrence d'Aniello
Hodnotenie
0 0 0
Verzia
2024-08-13
Vytvorené
10.08.2024
Aktualizované
13.08.2024
Veľkosť
5,6 KB
Licencia
MIT
Spustiť na

Autosave form inputs and display 15-Item History, so you can easily recover lost data.

Chrome's autocomplete system is designed to prioritize a mix of recent and frequently used entries. This means:

Recent entries are often suggested but might not always appear immediately.
Frequently used entries tend to have higher priority and appear more consistently.

This userscript addresses this limitation by maintaining a list of the last 15 entries entered.

Please note that you will need to customize the script for your specific use case:

1. Modify the website URL in the match metadata to target the correct site.
2. Update the input and button selectors (lines 16 and 17 of the code) to match your site’s elements. To find the correct selectors in Chrome, right-click on the element, select "Inspect," right-click the highlighted code, and choose "Copy" > "Copy selector."
3. Optionally, customize the number of entries to display by adjusting line 26 of the code.