Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Automatically "Show Less Like This" #210

Open
TechnoColt opened this issue Oct 7, 2022 · 3 comments
Open

[Suggestion] Automatically "Show Less Like This" #210

TechnoColt opened this issue Oct 7, 2022 · 3 comments

Comments

@TechnoColt
Copy link

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.

@dw5
Copy link

dw5 commented Oct 24, 2022

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)

@rthaut rthaut added this to To do in Next Release Nov 1, 2022
@Fabian42
Copy link

  1. This could be a nice feature, but of course it would have to be optional. I have some filters with potential false positives and would not want it to mess up my recommendations (more than they already are sometimes).
  2. An alternative/additional nice feature would be hiding the picture client-side, instead of via the "show less like this" way.
  3. Have you actually seen a difference from "show less like this"? It seems to me like it does absolutely nothing. I can click that on episode 7854763 of a webcomic that DA recommends me for some reason, reload the page and get episode 583495145 of the same webcomic in the same place. It's also not an issue of slow recalculation, I still get the same thing recommended days and weeks later, no matter how often I do it.

@Fabian42
Copy link

My past self already had idea 2 over a year ago: #206 :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

4 participants