adds CSS classes to style table rows as a rainbow, and updates dynamically when filters are applied
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
works on Tag Search if my other script turns them into a table
delegated event handlers higher in DOM to ensure correct handler execution order (this script last)reduced DOM access
fixed an issue with color refresh on fandom snoozes not workingmoved all event handlers out of document.ready() so code can run early, and switched to delegated handlers to avoid script order issues
now works in tag bins!now also works with the fandom snooze script on the Wrangling Home page
updated to work with v2.0+ of my "Sort Fandoms by Number of Unwrangled Tags" script
just a little bit of code cleanup
updated to support my new Sorting by Total Unwrangled script
updated code to catch click events on links from the standard filtering again. Previously the script assumed the 2nd <p>, but that has shifted thanks to an AO3 code change. Now the script looks for the <p> containing the text "Show only fandoms with" (which is unique to the standard filters)
(1) updated to latest jQuery(2) it's now possible to configure the six colors directly in the script, for those who don't use a custom AO3 skin :)
fixes reloads on the Sources and Reset All Filters links (in the n-in-1 wrangling filtering script)