Private Message Blocking

Listed below are the codes that allow users to block the private messages of other users, without the users needing to be in chat when their private messages are being blocked. It saves users the trouble of having to wait until the next time the target user enters the chat that they are in, which could be ages.

These are just JavaScript codes that were given to me. I did not put the codes together myself, nor would I have been able to since unlike CSS, I'm still not very good with JavaScript.

This code will block a user's private messages without them being in chat. Use Ctrl + Shift + I which will open developer tools. Find the console, and paste the following. Replace the example user with the user who's private messages you wish to block.

This code will unblock a user's private messages without them being in chat. Use Ctrl + Shift + I which will open developer tools. Find the console, and paste the following. Replace the example user with the user who's private messages you wish to unblock.