Private Message Blocking

Listed below are the codes that allowed users to block the private messages of other users, without the users needing to be in chat when their private messages were being blocked. It saved users the trouble of having to wait until the next time the target user entered the chat that they were in, which could have been 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 would have blocked a user's private messages without them being in chat. Using Ctrl + Shift + I which will open developer tools. Finding the console, and pasting the following. Replacing the example user with the user whose private messages you wished to block.

This code would have unblocked a user's private messages without them being in chat. Use Ctrl + Shift + I which will open developer tools. Finding the console, and pasting the following. Replacing the example user with the user whose private messages you wished to unblock.

A list of users whose PMs that you've blocked, and users that have blocked your PMs could previously be found here.