您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Saves a copy of the editor's content to local storage at set intervals so you can recover it if you forget to save or lose connection.
This plugin creates a backup of Kanka’s editor’s content in your browser’s local storage at set intervals (5 minutes by default). You can use a button in the editor’s toolbar to see existing snapshots and paste any of them into the current editor (without overwriting existing content). Useful when you accidentally close a tab without saving, or if an error or connection issue prevents a save from going through.
Note that snapshots are saved to the browser’s local storage, so the recovered data is dependent on the machine and user session used and may be lost if you clear your cookies, cache and similar browser information.
Near the top of the script, you can find two configurable settings:
/* Preferences */ const interval = 5; // in minutes const snapshots = 10; // how many snapshots to keep in storage
The first number allows you to control how often a snapshot is saved, in minutes.
The second number controls how many snapshots are kept in storage. Note that this limit is shared among all entities; if you have more than 10 tabs open with an editor and the limit is set to 10, some snapshots will be overwritten before you really get a chance to use them.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址