Greasy Fork is available in English.

Hummingbird User Compare

Adds a button that compares the anime list of a hummingbird user against yours

< Valutazione su Hummingbird User Compare


Pubblicato: 30/04/2015

Trying to figure out how to change position of the compatibility output

I've been trying to figure out how to move
Anime Compatibility: *output here* into say the favorite anime secion.

Pubblicato: 10/05/2015

You'd have to change the code for that. If you look at line 216 you'll see btnFollow.parentNode.innerHTML += hb.makeCompatTable([anime, manga], styleOverride); which means I'm appending it to the hummingbird follow button.

so something like

var favoriteDiv = Util.q('div.favorite-div');
favoriteDiv.innerHTML += hb.makeCompatTable([anime, manga], styleOverride);

would probably do it, but there might be some bugs. Particularly on the forums page. It would be a start at least.

Pubblica risposta

Accedi per pubblicare una risposta.