Open TechnoColt opened 2 years ago
Developer sure can, for whatever gets filtered, the HTML provides data-userid
for user and for post
I guess it could simply be extracted by taking part of href to get itemid which is needed make post request to
https://www.deviantart.com/_napi/shared_api/less_like (show less like this api).
{"itemid": <post number thingy> ,"typeid":1,"reason_shown":"","
ownerid":"data-user-id",
"cursor":"<idk probably related to placement?>",
"csrf_token":"<doesnt change, seems like login token>"}
additionally something like this can be used as source for inspiration / converted into self-script https://github.com/Niedzwiedzw/youtube-publish-drafts/blob/master/youtube-publish-drafts.js
might be problematic only because of ratelimit (to server its unusual, typical user doesn't do this many specific show less requests so fast)
My past self already had idea 2 over a year ago: #206 :D
I'm not sure if this is possible with how the extension works, as I haven't taken a look at the source code, but would it be feasible to have a toggleable option to automatically click the "show less like this" button for any filtered deviation? It stands to reason that if I'm filtering out a post, I'm more than likely going to want to click that button (for all the good it does). Currently, the method of hiding filtered deviations makes clicking this button manually difficult.