Last active
May 22, 2017 14:32
-
-
Save KingCprey/a1aed8ed119abce9d8cfe06138de8edd to your computer and use it in GitHub Desktop.
LMG MOUNTED AND LOADED - Google Docs
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
var new_name="Anonymous Tachanka"; | |
var chanka_pic="https://i.imgur.com/ZERv1w1.jpg"; | |
var all_divs=document.querySelectorAll(".docs-presence-plus-collab-widget-container.goog-inline-block.docs-presence-plus-collab-widget-focus"); | |
for(var i=0;i<all_divs.length;i++){ | |
all_divs[i].setAttribute("data-tooltip",new_name); | |
all_divs[i].setAttribute("aria-label",new_name); | |
var img=all_divs[i].querySelector("img"); | |
if(img!=null){img.setAttribute("src",chanka_pic);img.setAttribute("alt",new_name);} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment