I've started using domains like fasterthanli.me.snug.blog which I control and resolve to 127.0.0.1 when developing my site but... of course that's an insecure origin, so the clipboard doesn't work.

believe it or not the path of least resistance was serving (self-signed) TLS 🙃

GitHub - FiloSottile/mkcert: A simple zero-config tool to make locally trusted development certificates with any names you'd like.

A simple zero-config tool to make locally trusted development certificates with any names you'd like. - FiloSottile/mkcert

GitHub