Greasy Fork

Fanfiction.net ratio

Adds score ratio to fanfics

< 脚本Fanfiction.net ratio的反馈

评价:好评 - 脚本运行良好

§
发表于:2022-06-02

Hi! I was looking through you script, and I sort of understand what you're doing, but it made me think of something I'd wanted to do years ago and have wanted to do since. I'm not great at writing scripts so I wondered if you could maybe do something with it... Yours is a lot more involved, and I might take a shot at it myself, but figured I'd ask so I don't have to go through the frustration of trying again and again only to fail in the end... and you seem to understand programing/scripting a lot better than I do.

Simply put I wanted to make a ratio of Reviews to Chapter. IE 20 chapters, 200 reviews: CR (Chapter Review) Ratio of 10. Is that something you could do?

1233Echo作者
§
发表于:2022-06-04

Hello, thank you for review. I updated the code so it may work for you now. Write in Ratio Formula reviews/chapters. I also attached a short guide to this reply to help.

§
发表于:2022-06-04

Sweet. I will try this out later today. Really appreciate it.

§
发表于:2022-06-04
编辑于:2022-06-04

Alright, it's working well. I do have a couple questions.

1. Nevermind I figured it out.

2. The second question is if this could work with author profile (specifically) favorites? Is it as simple as finding the right html (span) in there? they both have the same span name div.z-padtop2.xgray... but under profiles it doesn't seem to work. Spent an hour trying to understand why, but just gave up on it after my headache got bad. I'm more of a hardware/physical guy.

If further modding is difficult or you don't want to do it... that's fine, but I thought I'd ask.

1233Echo作者
§
发表于:2022-06-05

For some reason user lists have different class, it should work now.

§
发表于:2022-06-05

Awesome. Works in the user lists now. Thanks for your time! Have a friend already going to use the script too after I was talking to him about it.

1233Echo作者
§
发表于:2022-06-05

I'm happy I could help you.

发表回复

登录以发表回复。