你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/5680-hummingbird-user-compare/discussions/15958,源站連結 點此以跳轉

Hummingbird User Compare

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

< 脚本 Hummingbird User Compare 的反馈

提问 / 留言

§
发布于:2015-04-30

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.

kufii作者
§
发布于:2015-05-10

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.

发布留言

登录以发布留言。