Japanese Speaker. I can read/write some English but not well, so corrections are always appreciated.

プログラミングや音楽に興味があります。最近はEmacsでよく遊んでます。

  • 0 Posts
  • 3 Comments
Joined 2 years ago
cake
Cake day: June 18th, 2023

help-circle

  • nmtake@lemm.eetoLinux@lemmy.mlAuto Typing Script
    link
    fedilink
    arrow-up
    0
    ·
    12 days ago

    I’d write a bookmarklet for that case:

    javascript:
    {
    const name = 'ABC';
    const d = new Date();
    const year = d.getFullYear();
    const month = d.getMonth();
    const date = d.getDate();
    document.activeElement.value = `${year}/${month}/${date} ${name}`;
    void 0;
    }
    

    This bookmarklet inserts the desired text into the currently focused text box. Tested on Lemmy Web UI.