Jump to content

someone make me a script for the chatbox that doesnt show messages from specific people


Acerd

Recommended Posts

3 hours ago, HeyImJamie said:

if (getChatbox().getUsername("Deceiver"){
	getChatbox().remove.getUsername("Deceiver");
	log("Bad Scamit, :ban:";
}

 

remove.getUsername ?
getUsername(username) ?

 

:think: ? ?

 

.remove("Deceiver");

.remove(getUser("Deceiver").getUsername());

Edited by The Hero of Time
Link to comment
Share on other sites

8 hours ago, Soldtodie said:

This is only the content script.


var blocked = ["FrostBug", "Ragme", "upotudrop", "Ahmad Diab", "uta", "Xylate", "HeyImJamie"];

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);
}

Or full chrome extension(source):

https://www.sendspace.com/file/d2ehc1

wow this ********a put in frostbug

 

lemme try it

 

edit: works

Edited by Acerd
  • Like 3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...