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