Last active
March 24, 2021 15:08
-
-
Save btarg/7e91162ccae0f78359305686a9e15954 to your computer and use it in GitHub Desktop.
Get Discord username from console (for browser user scripts and custom clients)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get Discord name from bottom left corner text box | |
const name = document.getElementsByClassName("size14-e6ZScH title-eS5yk3")[0].innerHTML; | |
const tag = document.getElementsByClassName("hovered-d5PMVU")[0].innerHTML; | |
const username_full = name + tag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment