r/userscripts • u/MonoS94 • Jul 07 '26
Pixiv slop block userscript
I was tired of seeing slop on pixiv so i've developer an userscript to remove it in some way, it can be found here
https://github.com/MonoS/Pixiv-Slop-Block
It does not work on mobile version of the site, but it does when switching to Desktop Mode.
I've never written an usescript before, but it was pretty simple, any suggestion is welcome.
5
Upvotes
View all comments
Show parent comment
1
u/MonoS94 Jul 08 '26
I think you are mistaking what this script does, both the list of tags and the aiType indicator are not available on the HTML side, all the logic is being done on the raw payload data, that's why i have to replace the thumbnail with another one (in theory i could put nothing, but as I said I prefer to know which images are slop), my script does not change any HTML after receiving the data. Looking at the payload i've found a flag called isBookmarkable, that when set to false make the user unable to click on the heart and also make it dimmer, i'll implement that.