Autosave form Inputs and Display 15-Item History

Autosaves and displays the last 15 entries of a single input field. Entries are saved on Enter or button click, and can be recovered or deleted.

目前為 2024-08-10 提交的版本,檢視 最新版本

作者
Lawrence d'Aniello
評價
0 0 0
版本
2024-08-08
建立日期
2024-08-10
更新日期
2024-08-10
尺寸
6.2 KB
授權條款
MIT
腳本執行於

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.