auhu@kbin.social to /kbin meta@kbin.socialEnglish · 1 year agoIs there a way to filter out a specific word from my feed? Like a tampermonkey script or something?message-squaremessage-square4fedilinkarrow-up10arrow-down10file-text
arrow-up10arrow-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.socialEnglish · 1 year agomessage-square4fedilinkfile-text
minus-squarefiofiofio@kbin.sociallinkfedilinkEnglisharrow-up0·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.socialOPlinkfedilinkEnglisharrow-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