Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Changes names on
// Gets all the names
var names = document.getElementsByClassName("_1ht6");
var nameHeaders = document.getElementsByClassName("_3oh-");
// New name variable, leave empty to delete names (not recommended)
var newName = "";
// Changes names to newName
[] function ( name ) { name.innerHTML = newName;});
// Changes nameHeaders and conversation messages to John Doe
[] function ( name ) { name.innerHTML = newName;});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment