Skip to content

Instantly share code, notes, and snippets.

@multimeric
Last active April 12, 2020 12:40
Show Gist options
  • Save multimeric/d47537182d23e8bb335dc296cd089211 to your computer and use it in GitHub Desktop.
Save multimeric/d47537182d23e8bb335dc296cd089211 to your computer and use it in GitHub Desktop.

Revisions

  1. multimeric revised this gist Apr 12, 2020. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions discord_list_custom_emoji.js
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,8 @@
    // Open up Sever Settings → Emoji in your browser
    // Open the dev console using F12
    // Using the inspection tool, look for an element with the class .emojiRow-XXXX
    // Edit the string ".emojiRow-zIc7ZX" below into whatever class you got from the previous script
    // Paste the below script into the dev tools console
    let str = "";
    for (let emoj of $$('.emojiRow-zIc7ZX')){
    for (let emoj of document.querySelectorAll('div[class*=emojiRow][class*=card]')){
    str += emoj.children[1].innerText;
    str += '\t'
    str += emoj.children[0].style['background-image'].replace('url("https://cdn.discordapp.com/emojis/', '').replace('.png?v=1")', '');
  2. multimeric created this gist Apr 12, 2020.
    13 changes: 13 additions & 0 deletions discord_list_custom_emoji.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    // Open up Sever Settings → Emoji in your browser
    // Open the dev console using F12
    // Using the inspection tool, look for an element with the class .emojiRow-XXXX
    // Edit the string ".emojiRow-zIc7ZX" below into whatever class you got from the previous script
    // Paste the below script into the dev tools console
    let str = "";
    for (let emoj of $$('.emojiRow-zIc7ZX')){
    str += emoj.children[1].innerText;
    str += '\t'
    str += emoj.children[0].style['background-image'].replace('url("https://cdn.discordapp.com/emojis/', '').replace('.png?v=1")', '');
    str += '\n'
    }
    console.log(str);