mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
24 lines
601 B
JavaScript
24 lines
601 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();
|
|
resources.applyStyle("navbarOverrideStyle");
|
|
|
|
if (!settings.showBanner)
|
|
{
|
|
resources.applyStyle("noBannerStyle");
|
|
}
|
|
return {
|
|
ajaxReload: false
|
|
};
|
|
};
|
|
})(); |