hohMiyazawa / Automail

An enhancement collection for anilist.co
GNU General Public License v3.0
159 stars 30 forks source link

Force List Theme #280

Open shawnericksen opened 1 year ago

shawnericksen commented 1 year ago

From looking around on AL, the default behavior for lists when visiting any profile is to use the theme determined by the owner of the profile (not necessarily able to reduce load times by switching to compact list). I'm interested if an option forcing lists to use a specific theme could be added to Automail.

I would certainly be open to help with this if it could be added.

hohMiyazawa commented 1 year ago

The script would only be able to intervene a bit too late in the process, and isn't able to stop native Anilist from doing its thing.

So:

What the script would do is essentially click the theme switch button, as soon as it shows up. This still has some positives:

Would a setting named "Show compact list view by default" be what you need, automatically selecting the compact theme as fast as it can?

shawnericksen commented 1 year ago

I see, thank you. It's unfortunate that it can't modify the API call, but I think it's still a good feature to have. A "Show compact list view by default" setting would be nice for my use case, although a dropdown could also keep it flexible.