Greasy Fork is available in English.
GM脚本, 去除各搜索引擎/常用网站的重定向
Fra og med
去除各搜索引擎/常用网站的重定向
反馈最好能带上出问题的网页地址
https://github.com/axetroy/anti-redirect/releases
[{// 测试地址: https://www.zhihu.com/question/25258775name: '知乎',test: /www\.zhihu\.com/,provider: ZhihuProvider},{// 测试地址: https://zhuanlan.zhihu.com/p/20549978name: '知乎专栏',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/htmlviewname: 'Google Docs',test: /docs\.google\.com/,provider: GoogleDocsProvider},{// 测试地址: https://www.so.com/s?ie=utf-8&fr=none&src=360sou_newhome&q=chromename: '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=1504347367611name: '搜狗搜索',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=1name: '百度搜索',test: /www\.baidu\.com/,provider: BaiduProvider},{name: '百度视频',test: /v\.baidu\.com/,provider: BaiduVideoProvider},{// 测试地址: http://tieba.baidu.com/p/5300844180name: '百度贴吧',test: /tieba\.baidu\.com/,provider: TiebaProvider},{// 测试地址: https://juejin.im/entry/59ac8fa551882524241a8802?utm_source=gold_browser_extensionname: '掘金',test: /juejin\.im/,provider: JuejinProvider}]
点击这个链接,提交issues,说出你想要支持的站点
需要通过NodeJs把TypeScript编译成javascript
git clone https://github.com/axetroy/anti-redirect.gitcd ./anti-redirectnpm installnpm run watch
代码已经重构到简单令人发指了,欢迎各位大大PR
Axetroy ? ? ? |
---|
The MIT License (MIT)
Copyright (c) 2016 axetroy
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, 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 THESOFTWARE.