Skip to content

paradox460/Lemmy-Fast-Post-Userscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lemmy Fast Post

Allows you to command/ctrl + enter within the text area to submit a comment.

Note that if your home instance is running 0.18.1-rc.8 or higher, you should disable fast posting.

Installation

You'll need a UserScript manager. I like ViolentMonkey

Configuration

Adding Instances

Lemmy instances can have any url, so I don't ship this script with URLs configured. In your script manager, you'll need to add overrides for what pages it should match on. In ViolentMonkey, when viewing the script, the overrides are on the Settings page, under the @match rules. Add your instance like this: https://lemdro.id/*

Default Language

If you are tired of having to set the language all the time, you can add a default language configuration to the script, and it will attempt to set the language to that automatically each time you invoke fast post. Simply set the UserScript values language configuration to the string numeric id of the language. English, for example, is "37"

If no language value is set, the script will not change the language at all.

Disabling Fast Posting

If your lemmy instance of choice is running 0.18.1-rc.8 or higher, you should disable the fast post functionality. You can still keep the automatic language setting functionality enabled.

Set fastPost in the userscript values configuration to false, and refresh any pages. The language will still be set, but the post bind will be disabled

All Configuration Options

Key Type Description
language String The string of the numeric ID of the default language to set.
fastPost Boolean Toggles fast posting on or off. Default is true

About

Allows command/control + return to submit posts on lemmy instances

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors