Skip to content

Instantly share code, notes, and snippets.

@FOCI-DEV
Last active October 29, 2020 00:41
Show Gist options
  • Save FOCI-DEV/232eff723c0ae2f603f5a8b5906daba2 to your computer and use it in GitHub Desktop.
Save FOCI-DEV/232eff723c0ae2f603f5a8b5906daba2 to your computer and use it in GitHub Desktop.
Remove Spaces between Discord Emojis [Desktop Client]
function addCSSRule(sheet, selector, rules, index) {
if ("insertRule" in sheet) {
sheet.insertRule(selector + "{" + rules + "}", index);
} else if ("addRule" in sheet) {
sheet.addRule(selector, rules, index);
}
}
addCSSRule(document.styleSheets[0], "img.jumboable", "margin: auto auto auto 0.0em!important;");
addCSSRule(document.styleSheets[0], "img.emoji", "margin: auto auto auto 0.0em!important;");
@FOCI-DEV
Copy link
Author

FOCI-DEV commented Feb 21, 2018

​Remove space between emojis on desktop discord


Pasting certain things into the developers console can give attackers access to your Discord account.

Unless you understand exactly what you are doing, close this window and stay safe.
The above code is modifying the CSS styling of the image object associated with emojis (using javascript).


Instructions:

  1. Press CTRL+Shit+I
  2. Go to Console tab
  3. Copy paste above code into console window (at bottom)

Optional: Save code to Discord client by creating a snippet in the "Sources" tab, as seen below.

get rid of spaces between emojis on discord

Copy link

ghost commented May 15, 2019

This doesn't fck'n work

@NoaHimesaka1873
Copy link

It still works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment