跳过跳转提示页面,直达目的地:
参考ustc-auto-login使用方法的前两步。
中间页面分为两种:
-
一种是可从URL获取到要跳转的地址,那么暂停页面的加载(
window.stop()
),从URL获取地址并跳转。 -
另一种是需要从页面内容中获取跳转地址(如t.cn类型),这种比较少,先在开始时将页面隐藏(
document.documentElement.setAttribute("hidden", "")
),然后在加载完的时候从页面中获取链接再跳转。
与Open-the-F-king-URL-Right-Now相比:可从URL获取跳转目的地时,不加载中间页面加快了跳转;不能从URL直接获取目的地时,同样使页面为空白,减少了跳转时的视觉感知。
与anti-redirect相比:从任何网站打开的中间页面都能跳转,比如下面的测试链接,anti-redirect脚本不会处理,因为GitHub本来不会加跳转确认页面;另外有时候页面没加载完的时候就点击链接,anti-redirect可能还没处理,于是会进入中转页面。
如果有此插件不能跳转的页面,欢迎通过issues反馈,请附上不能跳转的中间页面链接,就像下面的测试链接那样。如有其他问题也欢迎通过issues反馈。
https://link.juejin.cn/?target=https%3A%2F%2Ftinypng.com%2F
https://link.logonews.cn/?url=https://link.logonews.cn/b
https://www.jianshu.com/go-wild?ac=2&url=https%3A%2F%2Fwww.javadoop.com%2Fpost%2Fjava-thread-pool
https://weibo.cn/sinaurl?u=https%3A%2F%2Fwww.freebsd.org%2F
https://weibo.cn/sinaurl?toasturl=https%3A%2F%2Ftime.geekbang.org%2F
https://weibo.cn/sinaurl?luicode=10000011&lfid=230259&u=http%3A%2F%2Ft.cn%2FA6qHeVlf
https://steamcommunity.com/linkfilter/?url=http://www.unturned-planet.com
https://game.bilibili.com/linkfilter/?url=https%3a%2f%2fjq.qq.com%2f%3f_wv%3d1027%26k%3dFD3KOTus
https://www.oschina.net/action/GoToLink?url=http%3A%2F%2Fwww.eclipse.org%2Fopenj9
https://www.pixiv.net/jump.php?url=https://twitter.com/K2_illustration
https://www.chinaz.com/go.shtml?url=https://yuxiaoy.com
https://www.yuque.com/r/goto?url=https://www.runningcheese.com
https://www.mcbbs.net/plugin.php?id=link_redirect&target=http%3a%2f%2fwwwi.odnoklassniki-film.ru
http://www.360doc.cn/outlink.html?url=http://www.securelist.com/en/advisories/41167
https://www.tianyancha.com/security?target=http%3A%2F%2Fwww.hnreal.net
https://gitee.com/link?target=http%3A%2F%2Fwww.ue360.net%2Fworkflow.html
https://xie.infoq.cn/link?target=https%3A%2F%2Fgithub.com%2Fshaoxiongdu%2Fjava-notes
https://leetcode.cn/link/?target=https://www.hello-algo.com
https://blog.51cto.com/transfer?http://www.msfn.org/
https://www.coolapk.com/link?url=https%3A%2F%2Fpan.lanzouv.com%2Fb0f1gnb3a
https://ref.gamer.com.tw/redir.php?url=https%3A%2F%2Fwww.facebook.com%2Ftos.zh%2F%3Ffref%3Dnf
https://docs.qq.com/scenario/link.html?url=https%3A%2F%2Fm.tb.cn%2Fh.USHBypD%3Ftk%3DyeSfd2qxzFC