/discord-userscripts

Tampermonkey userscripts for discord.com

Primary LanguageJavaScript

discord-userscripts

auto_shrink_images.user.js

Shrink images uploaded or pasted into the client with ctrl+v to bring them below the 8MB upload limit. Images smaller than 8MB, when copied to the clipboard, can sometimes become larger than 8MB due to being converted to a pixmap. This script converts all large images to jpeg then reduces jpeg quality until the filesize is under 8MB. This works for both pasted images and uploaded files (include multiple file uploads).

always_twitfix.js

Replace links to twitter posts with "vxtwitter.com" in outgoing messages.

full_res_image_modal.js

Replace downscaled images (in the modal shown after clicking on an image) with their original source image, some images may fail to display due to CORS.