Welcome to Incels.is - Involuntary Celibate Forum

Welcome! This is a forum for involuntary celibates: people who lack a significant other. Are you lonely and wish you had someone in your life? You're not alone! Join our forum and talk to people just like you.

LifeFuel Extremely Simple Hide Greycel Threads Script

S

St.Greypiller

Unluckiest Subhuman
★★★★★
Joined
Sep 1, 2024
Posts
2,900
Hello everyone , Ive had it with these grAy fags so i decided to make a script to block them out running entirely in your browser with no additional bullshit
Dwqdqdqwd


How the script works
So basically the script works by removing posts from the feed depending on the username color , I know this is extremely unintuitive but it was the only way it could work based on my findings but i will cover it in the next point.
Issues I ran into
So i basically ran into a bunch of retarded bullshit issues , for one there is no user group attached to the cells. As much as i looked through the .is frontend i was unable to find a reliable way to block the usergroup from the feed but if i find a solution i will implement it. 2nd this system is slightly inconsistent due to it blocking out ALL users who choose to use the grey color yes i know retarded but i wasnt able to find another solution , also there wasnt a universal grey color meaning i had to find every singular greycel color myself and add them manually although i think i got every single grey color style if there are any inconsistencies let me know. AND FINALLY THE BIGGEST ISSUE I CAME TO NOTICE
Cacsca

I tried making the script into an extension , worked fine for chromium based browsers but when i tried to install it to firefox based browsers even with the insecure and other bullshit flags it simply would not run unofficial extensions installed locally . Yes i know i suck at making any program but this isnt entirely my fault , its also firefox being a bitch and not taking the extension so yeah i had to come up with another solution.

HOW TO INSTALL
without further yapping , heres how to install the script :
Get tampermonkey (available both on firefox and chrome)

PRESS CREATE NEW SCRIPT
(The whole script is under 50 lines so you can read it in less than 10 seconds)
delete everything and paste this in :

// ==UserScript==
// @name Hide Greyfags
// @namespace Cause Fuck them
// @version 1.0
// @description Hide posts and threads by greys
// @match https://incels.is/*
// @run-at document-end
// @grant none
// ==/UserScript==

(function () {
const STYLES = [
'username--style5',
'username--style21',
'username--style23',
'username--style24',
'username--style25',
'username--style26',
'username--style34',
'username--style62',
'username--style65'
];

function hasStyle(el) {
return STYLES.some(cls => el.querySelector('.' + cls));
}

function hidePosts() {
document.querySelectorAll('.message').forEach(msg => {
if (hasStyle(msg)) {
msg.style.display = 'none';
}
});
}

function hideThreads() {
document.querySelectorAll('.structItem').forEach(item => {
if (hasStyle(item)) {
item.style.display = 'none';
}
});
}

function run() {
hidePosts();
hideThreads();
}

run();

new MutationObserver(run).observe(document.body, {
childList: true,
subtree: true
});
})();

Now go press file and press save
you should now be able to toggle it on and off by going to install user scripts :
Dsds


THANKS FOR READING
@Fat Link @Acorn @AtrociousCitizen @Vendetta_ @Poopless One
 
Last edited:
@Rapistcel @FuckYou @Justanotherbloke @Diddy @Paladin
 
@Pancakecel @autistsupremacy @Friezacel @Grimm
 
Cool script :feelsokman:
thanks saar i spent like 2 hours raging cause firefox wouldnt take the extension while trying to manually install using local files
 
@LeFrenchCel @ceasercel
 
GrAYs are a big part of the forum, I don't want to exclude all of them tbh
 
@Chirag gupta @Grodd @grimlockcel
 
great script :feelsYall:

the only problem is that some grays use a limited time color that is available to everyone, so it won't filter them out completely.
 
great script :feelsYall:

the only problem is that some grays use a limited time color that is available to everyone, so it won't filter them out completely.
yea , if @proudweeb told me the user group of the greycel class then i could definetely filter out all of them. that is if the user group is in the frontend ofcourse , but then again you can also filter out the limited time color by adding username--style44 to the list
 
@Todd Thundercock @Paladin
 
I am greycel but give it a week and I’ll be out
 
great script :feelsYall:

the only problem is that some grays use a limited time color that is available to everyone, so it won't filter them out completely.
I don't even know what the color refers to, wasn't it for the holiday season?
 
Holy jesus, thats some dedication

For me personally though, i dont think its worth it. Many GrAYfags get colored names by admins, so they wont be recognized by the script. Its easier to just put them on ignore manually imo
 
Holy jesus, thats some dedication

For me personally though, i dont think its worth it. Many GrAYfags get colored names by admins, so they wont be recognized by the script. Its easier to just put them on ignore manually imo
didnt take too long apart from the retarded firefox issues and me having to look through the whole site to find xf-usergroup
 
any feedback you have? if i do manage to figure out an extension it will be 100% open source so you can audit the code
 
@Adolf Kitler @Animecel2D @gluttony @theanty @Dr. Autismo
 
SAAR MY COMPUTER HAS VIRUS
 
SAAR MY COMPUTER HAS VIRUS
The script is literally under 50 lines , Idk how you expect me to add malware to such a small script. a 12 year old could read this shit without any prior knowledge
 
any feedback you have? if i do manage to figure out an extension it will be 100% open source so you can audit the code
You can just check for each user’s postcount, unless you also want this extension to work for zoo visitors.
 
this seem actually pretty useful
 
Great script, but I don’t really want to hide them; this forum doesn’t have that many users to begin with
 
Seems too complicated for me
 
Can i do it without reading?
yes nigger , you dont need to read the script. you can even paste it into niggergpt to explain it to you if you want
 
yes nigger , you dont need to read the script. you can even paste it into niggergpt to explain it to you if you want
Ok but if it doesnt work i will hold you financially responsible
 

Similar threads

svgmn1
Replies
24
Views
496
svgmn1
svgmn1
Mohamedömar
Replies
27
Views
566
itsovER99
itsovER99
R
Replies
6
Views
436
Poopless One
Poopless One
VλREN
Replies
15
Views
472
nihilum
nihilum
NepNep
Replies
24
Views
1K
ANTAGONIST
ANTAGONIST

Users who are viewing this thread

shape1
shape2
shape3
shape4
shape5
shape6
Back
Top