mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
19 lines
457 B
JavaScript
19 lines
457 B
JavaScript
function touchNavBar()
|
|
{
|
|
waitForQuery()(
|
|
() => $("ul.fr>li.nav-item").not(".profile-info"),
|
|
it => it.length === 6,
|
|
navItems =>
|
|
{
|
|
const navTouch = (_, nav) =>
|
|
{
|
|
const $nav = $(nav);
|
|
$nav.css("cursor", "pointer");
|
|
const a = $nav.find("a.t");
|
|
a.removeAttr("href");
|
|
};
|
|
navItems.each(navTouch);
|
|
}
|
|
);
|
|
}
|