Bilibili-Evolved/touch/touch-navbar.min.js
2018-07-16 18:58:17 +08:00

1 line
260 B
JavaScript

function touchNavBar(){waitForQuery()(()=>$("ul.fr>li.nav-item").not(".profile-info"),it=>6===it.length,navItems=>{const navTouch=(_,nav)=>{const $nav=$(nav);$nav.css("cursor","pointer");const a=$nav.find("a.t");a.removeAttr("href")};navItems.each(navTouch)})}