Acerd Posted September 7, 2017 Share Posted September 7, 2017 // ==UserScript== // @name Chatbox Blocker // @namespace // @version 0.1 // @description Blocks peoples' messages in chatbox // @author Soldtodie // @match http://tampermonkey.net/index.php?ext=dhdg // @grant none // ==/UserScript== (function() { var blocked = ["name1", "name2", "name3", "name4", "name5"]; remove(); function remove() { var elements = document.getElementsByTagName("small"); for (var i = 0; i < elements.length; i++) { var name = elements[i].children[0].children[0].children[0].innerText.toString(); for (var b = 0; b < blocked.length; b++) { if (name === blocked[b]) { elements[i].parentElement.remove(); break; } } } setTimeout(remove, 100); } })(); all credits goes to soldtodie , script isnt very reliable (wont block the messages at all sometimes, dunno how to fix) but better than nothing replace names in the blocked variable use with tampermonkey 1 Quote Link to comment Share on other sites More sharing options...
uta Posted September 7, 2017 Share Posted September 7, 2017 ty frendo Quote Link to comment Share on other sites More sharing options...
Team Cape Posted September 7, 2017 Share Posted September 7, 2017 this is immoral and wrong Quote Link to comment Share on other sites More sharing options...
IHB Posted September 7, 2017 Share Posted September 7, 2017 pussiboi Quote Link to comment Share on other sites More sharing options...
Muffins Posted September 7, 2017 Share Posted September 7, 2017 read this as black people in the chatbox and i was like 1 Quote Link to comment Share on other sites More sharing options...
John Cena Posted September 7, 2017 Share Posted September 7, 2017 Same I was like wtf black people in chatbox what kinda click bait title is that. Quote Link to comment Share on other sites More sharing options...
kul782 Posted September 7, 2017 Share Posted September 7, 2017 Quote Link to comment Share on other sites More sharing options...
RoomScape Posted September 7, 2017 Share Posted September 7, 2017 1 hour ago, Team Cape said: this is immoral and wrong Yet it’s perfectly fine on the forums? Quote Link to comment Share on other sites More sharing options...
Rxd Posted September 7, 2017 Share Posted September 7, 2017 (edited) Holy shit thank you, getting rid of cancer immediately. Edited September 8, 2017 by hiddensnake72 Quote Link to comment Share on other sites More sharing options...
Transporter Posted September 14, 2017 Share Posted September 14, 2017 Thanks Acerd! Quote Link to comment Share on other sites More sharing options...
vagene Posted September 14, 2017 Share Posted September 14, 2017 damn i was about to block dbuffed but i got banned instead ;^) Quote Link to comment Share on other sites More sharing options...