mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
24 lines
775 B
JavaScript
24 lines
775 B
JavaScript
(() =>
|
|
{
|
|
return (settings, resources) =>
|
|
{
|
|
resources.applyStyle("scrollbarStyle", "bilibili-scrollbar-style");
|
|
SpinQuery.any(
|
|
() => $(".custom-scrollbar"),
|
|
it => it.removeClass("custom-scrollbar")
|
|
);
|
|
if ($("#banner_link").length === 0 ||
|
|
$("#banner_link").length > 0 &&
|
|
settings.overrideNavBar &&
|
|
!settings.showBanner)
|
|
{
|
|
resources.applyImportantStyle("darkStyleNavBar", "bilibili-new-style-dark-nav-bar");
|
|
}
|
|
resources.applyStyle("darkStyle", "bilibili-new-style-dark");
|
|
resources.applyImportantStyle("darkStyleImportant", "bilibili-new-style-dark-important");
|
|
return {
|
|
ajaxReload: false
|
|
};
|
|
};
|
|
})();
|