Last active
August 3, 2016 13:53
-
-
Save oerpli/ac1851a71970b3bcdbb6 to your computer and use it in GitHub Desktop.
Changes title - artist back to artist - title on user pages. deprecated as of 24.9.15 as lastfm switched it back. use this addon to make it title - artist now.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name unfucklastfm | |
// @namespace uflfm | |
// @description change artist and title | |
// @include http://www.last.fm/*/user/* | |
// @include http://www.last.fm/user* | |
// @author oerpli | |
// @version 1.2 | |
// @grant none | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js | |
// ==/UserScript== | |
$('.chartlist-name').each(function (index) { | |
var x = $(this).eq(0).children().children(); | |
x.eq(2).insertBefore(x.eq(0)); | |
x.eq(1).insertBefore(x.eq(0)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment