vlatkozelka Posted December 24, 2018 Posted December 24, 2018 Here is a script I just made a minute ago to hide posts from users that I'd rather not bother my neurons with reading their posts. var authorHeaders = document.getElementsByClassName("cAuthorPane_author"); var ehhHeaders = []; for(i = 0; i< authorHeaders.length; i++){ var authorHeader = authorHeaders[i]; if(!authorHeader.classList.contains("ipsResponsive_showPhone")){ var strong = authorHeaders[i].children[0]; if(strong!=null){ var authorLink = strong.children[0]; var filter = authorLink.innerHTML == "ehh" || authorLink.innerHTML == "bananas"; //you can replace bananas and ehh with anything or add more || blocks if(authorLink!=null && filter){ ehhHeaders.push(authorHeader); } } } } console.log(ehhHeaders); for(i =0;i<ehhHeaders.length;i++){ var ehhHeader = ehhHeaders[i]; ehhHeader.parentElement.parentElement.style.display = "none"; } as it says in the commented code, you can replace "ehh" and bananas by anyone you want. if you want more people ignored just add more || blocks for 1 user filter = authorLink.innerHTML == "ehh" for 2 users filter = authorLink.innerHTML == "ehh" || authorLink.innerHTML == "WnxH3adSh00t" for 3 users and so on: filter = authorLink.innerHTML == "ehh" || authorLink.innerHTML == "WnxH3adSh00t" || authorLink.innerHTML == "Shaitan" To run this script you will have to download an automatic script launcher for you browser. I user greasmonkey for firefox. Make a new script, paste the code, and configure it to run with http://rencorner.co* This will not work on the mobile version of rencorner enjoy a spam free forums 1
Charre Posted December 24, 2018 Posted December 24, 2018 Blocking Shaitan? O.o you must have had a rough day 1
Discipile Posted December 24, 2018 Posted December 24, 2018 Epic. Now can you make us a fully functional Terraria IRC gateway? :> xD 1
vlatkozelka Posted December 24, 2018 Author Posted December 24, 2018 On 12/24/2018 at 6:10 AM, Charre said: Blocking Shaitan? O.o you must have had a rough day It was an example, who would block shaitan? In contrast, I have a script that will send me a notification and play the gummy bear song whenever shai posts! 1
ehh Posted December 24, 2018 Posted December 24, 2018 make one where it detects when your brother is downloading cheats. 1
shaitan Posted December 24, 2018 Posted December 24, 2018 People can block me all they want, in fact that might make me smile for real. 2 1
Qjmatrix1 Posted December 25, 2018 Posted December 25, 2018 12 hours ago, shaitan said: People can block me all they want, in fact that might make me smile for real. owned.... that right there is epic comment 1
Guest rackz Posted December 29, 2018 Posted December 29, 2018 On 12/24/2018 at 11:04 PM, shaitan said: People can block me, make me smile for real. So when you have a bad day, all we need to do is block you?
shaitan Posted December 30, 2018 Posted December 30, 2018 I heard you almost got blocked the other day. Conspiracy theories. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now