Skip to content

Commit

Permalink
Deploying to gh-pages from @ ed7e2c9 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
maomao1996 committed Apr 20, 2024
1 parent 6bd1cda commit 6e2d464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions remove-redirect.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @name 跳转链接修复(移除重定向外链直达)
// @description 修复跳转链接为站外直链(移除重定向),免去拦截页面点击步骤可直达站外;拦截页面自动跳转;已适配爱发电、百度搜索、CSDN、豆瓣、Facebook、码云、Google 搜索、Google 重定向页、花瓣网、InfoQ、Instagram、简书、掘金、金山文档、链滴、力扣(Leetcode)、51CTO 博客、NGA 玩家社区、牛客网、开源中国、pixiv、微信、微信开放社区、QQ 邮箱、PC 版 QQ、腾讯文档、腾讯兔小巢、360 搜索、少数派、腾讯云开发者社区、微博、YouTube、语雀、知乎、知乎专栏
// @namespace maomao1996.remove-redirect
// @version 2.9.0
// @version 2.9.1
// @author maomao1996
// @homepage https://github.com/maomao1996/tampermonkey-scripts
// @supportURL https://github.com/maomao1996/tampermonkey-scripts/issues
Expand Down Expand Up @@ -34,7 +34,7 @@
selector: "#content_left > [mu]",
customTransform: function(t) {
var e = t.getAttribute("mu");
n(e) && !a.test(e) && t.querySelectorAll('a[href*="baidu.com/link?url="]').forEach((function(t) {
n(e) && !a.test(e) && t.querySelectorAll('div[has-tts] a[href*="baidu.com/link?url="]').forEach((function(t) {
return t.setAttribute("href", e);
}));
}
Expand Down

0 comments on commit 6e2d464

Please sign in to comment.