auhu@kbin.social to /kbin meta@kbin.social · 1 year agoIs there a way to filter out a specific word from my feed? Like a tampermonkey script or something?message-squaremessage-square5fedilinkarrow-up12arrow-down10file-text
arrow-up12arrow-down1message-squareIs there a way to filter out a specific word from my feed? Like a tampermonkey script or something?auhu@kbin.social to /kbin meta@kbin.social · 1 year agomessage-square5fedilinkfile-text
minus-squarefiofiofio@kbin.sociallinkfedilinkarrow-up3·1 year agoI’m working on one. Currently I have Enough about Reddit already which filters out reddit-related words. If you’re comfortable editing a script, you could add your own words to the blacklist.
minus-squareauhu@kbin.socialOPlinkfedilinkarrow-up2·1 year agoIt works great! I changed the blacklist. Not sure if it’s only me, but I got undefined errors sometimes so I added this spaghetti before the const description declaration: if (!article.getElementsByClassName("short-desc")[0]) return; if that helps anyone in the future
I’m working on one. Currently I have Enough about Reddit already which filters out reddit-related words. If you’re comfortable editing a script, you could add your own words to the blacklist.
It works great! I changed the blacklist.
Not sure if it’s only me, but I got undefined errors sometimes so I added this spaghetti before the
const description
declaration:if (!article.getElementsByClassName("short-desc")[0]) return;
if that helps anyone in the future