Greasy Fork is available in English.

Hummingbird User Compare

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

< Opiniones de Hummingbird User Compare

Pregunta o comentario

§
Publicado: 30/4/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.

kufiiAutor
§
Publicado: 10/5/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.

Publicar respuesta

Inicia sesión para responder.