Greasy Fork

AO3 author+tags quick-search

Generates quick links from AO3 fics to more by the same author in the same fandom (or character/pairing/any other tag).

< 脚本AO3 author+tags quick-search的反馈

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

§
发表于:2025-01-02

I have a couple of suggestions to improve the script, if I may :)

You already excluded orphan_account, but the script still tries to retrieve work numbers for Anonymous works. That will always return 20, because the filter doesn't actually work, and just gives the 20 most recent works in that tag.

And the other is about the page being unresponsive (can scroll, but can't click on anything) while the script loads all those work numbers, especially on works with a lot of tags and multiple co-authors. I also see the warning in my console:

"Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help https://xhr.spec.whatwg.org/#sync-warning".

Right now the page has to wait while the filters are loaded in the background, so I had to turn that feature off. If you could restructure the code to use Asynchronous Ajax requests with xmlhttp.open("GET",url,true); that would no longer be necessary and make the UX smoother.

I do like this script for making it easier to find similar works by the same author! Thank you! <3

发表回复

登录以发表回复。