Greasy Fork

Shined up real nice.

Metal Archives discography pages - Reviews column split and sortable tables

Splits the Reviews column into Reviews(count) and Ratings and makes the tables in all discography tabs sortable.

Advertisement
Author
darkred
Daily installs
0
Total installs
81
Ratings
4 0 0
Version
2.0.4
Created
Updated
License
MIT
Applies to

Author's Description

This userscript applies to metal-archives.com(Metal Archives), in discography pages.

It splits the 'Reviews' column into 'Reviews' and 'Ratings' and makes the tables in all discography tabs sortable
(just click on each of the table headers).
Tip: you can sort multiple columns simultaneously by holding down the Shift key and clicking a 2nd, 3rd or even 4th column header.
(Note: since version 2.0 the visual glitch/delay that occured as you switched sub-tabs (tables) appears no more)

Example (see screenshots below) :
http://www.metal-archives.com/bands/Kamelot/166 (DISCOGRAPHY > MAIN tab)
-the script works in all DISCOGRAPHY tabs-

Tested with Greasemonkey and Tampermonkey.

This userscript makes use of the page's jQuery 1.11.1 (because of the script's '@grant none' imperative), located inside the combined jQuery libraries file http://www.metal-archives.com/min/index.php?g=js,
the jQuery plugin tablesorter (forked by Rob Garrison (Mottie))
and the JavaScript library Mutation Summary (by Rafael Weinstein).

Thanks a lot to Rob Garrison and Brock Adams for their invaluable help (1, 2, 3, 4)