Fast post userscript for Lemmy

https://github.com/paradox460/Lemmy-Fast-Post-Userscript

I got tired of hitting ⌘Enter and not having my post automatically go through, so I wrote a little userscript that enables exactly that.

22 points · 11 comments · view on lemmy.world

11 Comments

dabster291@lemmy.zip · 3 pts · 3y (1 reply)

test

dabster291@lemmy.zip · 1 pts · 3y

ok script works 👍

ram@lemmy.ca · 3 pts · 3y (3 replies)

Oh that's awesome! Any chance you can make it change the language option to English too?

Paradox@lemdro.id · 1 pts · 3y (2 replies)

Done! v0.0.2 supports this now.

You'll need to set your default language in your userscript manager's "Values" configuration. In ViolentMonkey, its one of the tabs in the script edit view.

Set language to "37" for English

ram@lemmy.ca · 2 pts · 3y (1 reply)

Thank you!

Edit: works perfect!> language to "37"

Paradox@lemdro.id · 4 pts · 3y

FWIW, Lemmy is supposed to have Ctrl+Enter bindings natively. But they're only bound to Ctrl, which isn't great for Mac users.

You can see the code here

I'll open a pull request I guess, which might render this script irrelevant.


Pull request open!


And it was merged earlier this morning!

When it goes live, I'll add a check to see what UX the instances are running, and if they support it, I'll only handle the language stuff out of the box