您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
GM脚本, 去除各搜索引擎/常用网站的重定向
当前为
去除各搜索引擎/常用网站的重定向
反馈最好能带上出问题的网页地址
https://github.com/axetroy/anti-redirect/releases
[
{
// 测试地址: https://www.zhihu.com/question/25258775
name: '知乎',
test: /www\.zhihu\.com/,
provider: ZhihuProvider
},
{
// 测试地址: https://zhuanlan.zhihu.com/p/20549978
name: '知乎专栏',
test: /zhuanlan\.zhihu\.com/,
provider: ZhihuZhuanlanProvider
},
{
// 测试地址:
name: '知乎日报',
test: /daily\.zhihu\.com/,
provider: ZhihuDailyProvider
},
{
name: 'Google搜索',
test: /\w+\.google\./,
provider: GoogleProvider
},
{
// 测试地址: https://docs.google.com/spreadsheets/d/1TFcEXMcKrwoIAECIVyBU0GPoSmRqZ7A0VBvqeKYVSww/htmlview
name: 'Google Docs',
test: /docs\.google\.com/,
provider: GoogleDocsProvider
},
{
// 测试地址: https://www.so.com/s?ie=utf-8&fr=none&src=360sou_newhome&q=chrome
name: '360搜索',
test: /www\.so\.com/,
provider: SoProvider
},
{
name: '新浪微博',
test: /\.weibo\.com/,
provider: WeboProvider
},
{
name: 'Twitter',
test: /twitter\.com/,
provider: TwitterProvider
},
{
// 测试: http://www.sogou.com/web?query=chrome&_asf=www.sogou.com&_ast=&w=01019900&p=40040100&ie=utf8&from=index-nologin&s_from=index&sut=1527&sst0=1504347367611&lkt=0%2C0%2C0&sugsuv=00091651B48CA45F593B61A29B131405&sugtime=1504347367611
name: '搜狗搜索',
test: /www\.sogou\.com/,
provider: SoGouProvider
},
{
// 测试: https://www.baidu.com/s?wd=chrome&rsv_spt=1&rsv_iqid=0xcb136237000ed40e&issp=1&f=8&rsv_bp=0&rsv_idx=2&ie=utf-8&tn=baidulocal&rsv_enter=1&rsv_sug3=7&rsv_sug1=7&rsv_sug7=101&rsv_sug2=0&inputT=813&rsv_sug4=989×tamp=1504349229266&rn=50&vf_bl=1
name: '百度搜索',
test: /www\.baidu\.com/,
provider: BaiduProvider
},
{
name: '百度视频',
test: /v\.baidu\.com/,
provider: BaiduVideoProvider
},
{
// 测试地址: http://tieba.baidu.com/p/5300844180
name: '百度贴吧',
test: /tieba\.baidu\.com/,
provider: TiebaProvider
},
{
// 测试地址: https://juejin.im/entry/59ac8fa551882524241a8802?utm_source=gold_browser_extension
name: '掘金',
test: /juejin\.im/,
provider: JuejinProvider
}
]
点击这个链接,提交issues,说出你想要支持的站点
需要通过NodeJs把TypeScript编译成javascript
git clone https://github.com/axetroy/anti-redirect.git
cd ./anti-redirect
npm install
npm run watch
代码已经重构到简单令人发指了,欢迎各位大大PR
Axetroy ? ? ? |
---|
The MIT License (MIT)
Copyright (c) 2016 axetroy
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址