Bilibili-Evolved/style/override-navbar/override-navbar.js
2018-11-11 19:01:21 +08:00

15 lines
384 B
JavaScript

(() =>
{
return (settings, resources) =>
{
new SpinQuery(
() => $(".head-content.bili-wrapper>div.search").not(".filter-item"),
it => it.length > 0 && $(".nav-con.fr").length > 0,
textBox =>
{
textBox.detach()
.insertAfter(".nav-con.fr");
}
).start();
};
})();