Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Replace or add usernames to the list of blockedUsers (i.e. person1, person2) that you would like blocked.
- 2. Copy and paste the text below into the console section of your internet browser and run it.
- 3. If you do not know how to access the console section of your internet browser, google is your friend :)
- ====================================== Copy everything below this line ======================================
- setInterval(function(){
- var blockedUsers = [
- "person1",
- "person2"
- ];
- var message = document.getElementById("robinChatMessageList").lastElementChild;
- var blockedMessage = "[Message Deleted]";
- if (message !== null
- && typeof message.getElementsByClassName("robin-message--from") !== "undefined"
- && typeof message.getElementsByClassName("robin-message--from")[0] !== "undefined"
- && typeof blockedUsers.indexOf !== "undefined"
- && blockedUsers.indexOf(message.getElementsByClassName("robin-message--from")[0].innerHTML) > -1
- && message.getElementsByClassName("robin-message--message")[0].innerHTML != blockedMessage)
- message.getElementsByClassName("robin-message--message")[0].innerHTML = blockedMessage }
- , 100)
Add Comment
Please, Sign In to add comment