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
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
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)
addons.mozilla.org
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 :
Now go press file and press save
you should now be able to toggle it on and off by going to install user scripts :
THANKS FOR READING
@Fat Link @Acorn @AtrociousCitizen @Vendetta_ @Poopless One
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
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)
Tampermonkey â Get this Extension for ð¦ Firefox (en-US)
Download Tampermonkey for Firefox. Tampermonkey is the world's most popular userscript manager.
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
});
})();
// @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 :
THANKS FOR READING
@Fat Link @Acorn @AtrociousCitizen @Vendetta_ @Poopless One
Last edited:





