Skip to content

Commit

Permalink
Update Kill Baidu AD.user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hoothin committed Feb 24, 2025
1 parent fa4e676 commit b3b3157
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Kill Baidu AD/Kill Baidu AD.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@
return;
}
let link = item.querySelector("a[href*='www.baidu.com/link']");
if (link) link.href = mu;
if (link) {
link.href = mu;
item.setAttribute("mu", "");
}
}
}
let s = item.getAttribute("style");
Expand Down

0 comments on commit b3b3157

Please sign in to comment.