Skip to content

Instantly share code, notes, and snippets.

@EricRabil
Created July 29, 2018 00:11
Show Gist options
  • Save EricRabil/a44ac96089105f33ee07779f97cf34fa to your computer and use it in GitHub Desktop.
Save EricRabil/a44ac96089105f33ee07779f97cf34fa to your computer and use it in GitHub Desktop.
Discord scripts to make it more appealing for a marketing screenshot
Array.from(document.getElementsByClassName("guilds")[0].children).slice(5).forEach(n => n.remove());
document.getElementsByClassName("unread-mentions-indicator-bottom")[0].remove();
document.getElementsByClassName("friends-online")[0].innerText = "0 Online";
document.getElementsByClassName("friends-online")[0].previousSibling.children[1].remove();
Array.from(document.getElementsByClassName("iconBadge-2dji3k")).forEach(e => e.remove());
Array.from(document.getElementsByClassName("default-1VPH9n")).forEach(e => e.remove());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment