All Projects → 3lang3 → wechat-redirect

3lang3 / wechat-redirect

Licence: MIT license
📨微信跳转-微信浏览器中直接唤起本地浏览器和App

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to wechat-redirect

wxpay-gitbook
微信支付文档: https://yclimb.gitbook.io/wxpay/
Stars: ✭ 45 (-32.84%)
Mutual labels:  weixin
datepicker-plus
可选择公历,农历日期;可选择隐藏年份;组件化,引入文件可直接调用
Stars: ✭ 75 (+11.94%)
Mutual labels:  weixin
VirusX5
The Most Powerful Fake Page Redirecting tool...
Stars: ✭ 15 (-77.61%)
Mutual labels:  redirect
scrum-planning-poker
Please feel FREE to try it and give feedback by searching Scrum敏捷估算 in WeChat mini program.
Stars: ✭ 30 (-55.22%)
Mutual labels:  weixin
dnsredir
Yet another seems better forward/proxy plugin for CoreDNS
Stars: ✭ 58 (-13.43%)
Mutual labels:  redirect
openredir
redirect file open operations via LD_PRELOAD
Stars: ✭ 23 (-65.67%)
Mutual labels:  redirect
django-redirects
↪️ ✅ redirects as they should be, with full control.
Stars: ✭ 32 (-52.24%)
Mutual labels:  redirect
CSWeiXin
C#版微信
Stars: ✭ 16 (-76.12%)
Mutual labels:  weixin
WechatHttpApiWeb
Wechat Http Api Html
Stars: ✭ 36 (-46.27%)
Mutual labels:  weixin
wechat-pay
Simplest WechatPay(最简单的微信支付)
Stars: ✭ 49 (-26.87%)
Mutual labels:  weixin
miniprogram
微信小程序过审指南
Stars: ✭ 96 (+43.28%)
Mutual labels:  weixin
preact-weui
Weui for preact.
Stars: ✭ 44 (-34.33%)
Mutual labels:  weixin
wechat-js-sdk-beautify
人肉反编译 http://res.wx.qq.com/open/js/jweixin-1.0.0.js
Stars: ✭ 27 (-59.7%)
Mutual labels:  weixin
httpz
Fat-free hardenable opportunistic encryption for Firefox
Stars: ✭ 60 (-10.45%)
Mutual labels:  redirect
public
util toolkit for go.golang 通用函数包
Stars: ✭ 135 (+101.49%)
Mutual labels:  weixin
ImageTrans
一个仿微信的图片查看过渡动画demo 支持拖动图片手势返回 ,缩略图与原图无缝切换
Stars: ✭ 42 (-37.31%)
Mutual labels:  weixin
WeChatClient
一个高仿微信网页版 https://wx.qq.com 的WPF应用程序,基本完成了网页微信的主要基础功能,例如聊天,联系人,搜索,表情等。
Stars: ✭ 68 (+1.49%)
Mutual labels:  weixin
some-demo
some demo
Stars: ✭ 33 (-50.75%)
Mutual labels:  weixin
qyweixin
微信企业号接口 (http://qy.weixin.qq.com)
Stars: ✭ 16 (-76.12%)
Mutual labels:  weixin
mongoose-slug-plugin
Slugs for Mongoose with history and i18n support (uses speakingurl by default, but you can use any slug library such as limax, slugify, mollusc, or slugme)
Stars: ✭ 21 (-68.66%)
Mutual labels:  redirect

目前206伪装微信已经屏蔽 项目方法不再生效

🍿 WHY

来自产品需求,在微信中希望用户点击我们的推广链接直接去下载App, 一通搜索之后发现全是国内商家提供的收费服务,xxx一个月的api服务费,x万卖源码(不信可以搜一下相关关键字)。 这么个小功能收费?!不可能(qiong~...)。 搜索引擎翻了大概几十页结果都没具体方案,大概满足需求的情况下,最后把代码推上来,方便交流取阅🙌

🌰新增微信浏览器唤起APP例子 微信预览:http://wxredirect.jslab.fun/call-app

🌰**查看完整demo**

🎨 应用场景

APK微信自动下载

  • andorid微信里面,直接下载应用
  • 在IOS里面,提示跳转到IOS应用市场

绕过微信浏览器跳出限制

  • 在andorid微信浏览器中直接打开用户自带浏览器
  • ios正常遮罩提示(demo是纯文本提示,可以配合前端页面一起食用)

📌 CORE CODE

/*
* 通过设置状态码**206**和伪装头部Content-disposition 
* 绝大部分文章都没有提到206这一点
* 导致实现不了效果
*/
res.setHeader('Content-disposition', 'attachment;filename=open.apk');
res.setHeader('Content-type', 'text/plain; charset=utf-8');
res.removeHeader('If-None-Match')
res.removeHeader('If-Modified-Since')
res.statusCode = 206

✍️ Develop Or Contributor

docker用户:

npm run docker
# http://localhost:3000 dev地址

非docker用户:

  • redis
  • nodejs
  • npm(yarn)

开启redis服务,安装和文档移步redis page

# demo使用默认配置
redis-server

开启api服务,nodejs安装和文档nodejs page

# 安装依赖
npm install
# 开启服务
npm start

编译前端模版(create-react-app, 基于react的脚手架) 相关文档: react, create-react-app

# 进入目录
cd example/front
# 安装依赖
npm install
# 编译
npm run build

📖TODO

下面功能查询了相关资料,都没有找到满意都答案,大都是通过hack ticket进行伪装,如果你有好的实现或想法,欢迎交流~

  • app直接打开wechat浏览器
  • wechat浏览器直接打开app(跳出wx,之后再通过本地浏览器进行app唤起,依赖callapp-lib实现)

UI方面

  • IOS微信浏览器提示页
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].