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;");
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