mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
17 lines
374 B
JavaScript
17 lines
374 B
JavaScript
(() =>
|
|
{
|
|
return (settings, resources) =>
|
|
{
|
|
if (settings.useNewStyle)
|
|
{
|
|
for (const i of Array.from({ length: 2 }, (_, c) => c + 1))
|
|
{
|
|
resources.applyStyle(`darkStyleSlice${i}`, `bilibili-new-style-dark-slice-${i}`);
|
|
}
|
|
}
|
|
return {
|
|
ajaxReload: false
|
|
};
|
|
};
|
|
})();
|