mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
14 lines
374 B
JavaScript
14 lines
374 B
JavaScript
(() =>
|
|
{
|
|
return (settings, resources) =>
|
|
{
|
|
const suitableSites = [
|
|
"https://www.bilibili.com/",
|
|
"https://www.bilibili.com/watchlater/#/list",
|
|
];
|
|
if (suitableSites.indexOf(location.href.replace(location.search, '')) !== -1)
|
|
{
|
|
document.documentElement.classList.add("compact");
|
|
}
|
|
};
|
|
})(); |