Post
Topic
Board Meta
Merits 159 from 20 users
Topic OP
[Userscript] Auto-Save your drafts
by
TryNinja
on 07/01/2024, 03:34:05 UTC
⭐ Merited by fillippone (46) ,LoyceV (42) ,Welsh (20) ,ABCbits (12) ,hosemary (6) ,Xal0lex (5) ,dkbit98 (5) ,o_e_l_e_o (4) ,DdmrDdmr (4) ,Halab (2) ,joker_josue (2) ,Husna QA (2) ,PrivacyG (2) ,Apocollapse (1) ,Mia Chloe (1) ,hd49728 (1) ,FatFork (1) ,libert19 (1) ,tbct_mt2 (1) ,vapourminer (1)
Inspired by libert19's suggestion, I wrote a small script that auto saves your posts to the forum draft every couple of seconds (customizable).

Once in time I was writing a middle sized post and missclicked F5, losing the entire thing. This script helps mitigate this dangerous mistake! Tongue

Installation: https://greasyfork.org/en/scripts/484095-auto-save-draft-for-bitcointalk-org

Edit the INTERVAL_SECONDS variable at the top with the number of seconds you want your draft to automatically save (default: 5 seconds). If there are no changes on your post since the last draft (this includes pressing the "preview" button), the process is skipped.

Quote