微信网页版能够使用(会顶掉微信app的登陆)

这篇具有很好参考价值的文章主要介绍了微信网页版能够使用(会顶掉微信app的登陆)。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

一、文件结构

  1. 新建目录chrome
  2. 新建icons,其中图片你自己找吧
  3. 新建文件manifest.json
  4. 新建文件wx-rules.json

二、文件内容

对应的png你们自己改下
微信网页版能够使用(会顶掉微信app的登陆),微信

1、manifest.json

{
    "manifest_version": 3,
    "name": "wechat-need-web",
    "author": "lqzh",
    "homepage_url": "https://github.com/lqzhgood/wechat-need-web",
    "version": "1.1.1",
    "description": "Allow the use of WeChat via webpage access",
    "permissions": [
        "declarativeNetRequest"
    ],
    "declarative_net_request": {
        "rule_resources": [
            {
                "id": "wx",
                "enabled": true,
                "path": "wx-rules.json"
            }
        ]
    },
    "icons": {
        "16": "./icons/icon_16.png",
        "32": "./icons/icon_32.png",
        "48": "./icons/icon_48.png",
        "128": "./icons/icon_128.png"
    },
    "host_permissions": [
        "https://wx.qq.com/*",
        "https://web.weixin.qq.com/*",
        "https://web.wechat.com/*",
        "https://web1.wechat.com/*",
        "https://web2.wechat.com/*",
        "https://wx2.qq.com/*",
        "https://wx8.qq.com/*"
    ],
    "minimum_chrome_version": "88"
}

2、wx-rules.json

[
    {
        "id": 1,
        "priority": 2,
        "action": {
            "type": "modifyHeaders",
            "requestHeaders": [
                {
                    "operation": "set",
                    "header": "extspam",
                    "value": "Go8FCIkFEokFCggwMDAwMDAwMRAGGvAESySibk50w5Wb3uTl2c2h64jVVrV7gNs06GFlWplHQbY/5FfiO++1yH4ykCyNPWKXmco+wfQzK5R98D3so7rJ5LmGFvBLjGceleySrc3SOf2Pc1gVehzJgODeS0lDL3/I/0S2SSE98YgKleq6Uqx6ndTy9yaL9qFxJL7eiA/R3SEfTaW1SBoSITIu+EEkXff+Pv8NHOk7N57rcGk1w0ZzRrQDkXTOXFN2iHYIzAAZPIOY45Lsh+A4slpgnDiaOvRtlQYCt97nmPLuTipOJ8Qc5pM7ZsOsAPPrCQL7nK0I7aPrFDF0q4ziUUKettzW8MrAaiVfmbD1/VkmLNVqqZVvBCtRblXb5FHmtS8FxnqCzYP4WFvz3T0TcrOqwLX1M/DQvcHaGGw0B0y4bZMs7lVScGBFxMj3vbFi2SRKbKhaitxHfYHAOAa0X7/MSS0RNAjdwoyGHeOepXOKY+h3iHeqCvgOH6LOifdHf/1aaZNwSkGotYnYScW8Yx63LnSwba7+hESrtPa/huRmB9KWvMCKbDThL/nne14hnL277EDCSocPu3rOSYjuB9gKSOdVmWsj9Dxb/iZIe+S6AiG29Esm+/eUacSba0k8wn5HhHg9d4tIcixrxveflc8vi2/wNQGVFNsGO6tB5WF0xf/plngOvQ1/ivGV/C1Qpdhzznh0ExAVJ6dwzNg7qIEBaw+BzTJTUuRcPk92Sn6QDn2Pu3mpONaEumacjW4w6ipPnPw+g2TfywJjeEcpSZaP4Q3YV5HG8D6UjWA4GSkBKculWpdCMadx0usMomsSS/74QgpYqcPkmamB4nVv1JxczYITIqItIKjD35IGKAUwAA=="
                },
                {
                    "operation": "set",
                    "header": "client-version",
                    "value": "2.0.0"
                }
            ]
        },
        "condition": {
            "urlFilter": "*",
            "resourceTypes": [
                "main_frame",
                "sub_frame",
                "stylesheet",
                "script",
                "image",
                "font",
                "object",
                "xmlhttprequest",
                "ping",
                "csp_report",
                "media",
                "websocket",
                "other"
            ]
        }
    },
    {
        "id": 2,
        "priority": 1,
        "action": {
            "type": "redirect",
            "redirect": {
                "transform": {
                    "queryTransform": {
                        "addOrReplaceParams": [
                            {
                                "key": "target",
                                "value": "t"
                            }
                        ]
                    }
                }
            }
        },
        "condition": {
            "urlFilter": "*",
            "resourceTypes": [
                "main_frame"
            ]
        }
    }
]

三、谷歌浏览器添加插件

微信网页版能够使用(会顶掉微信app的登陆),微信
微信网页版能够使用(会顶掉微信app的登陆),微信
选择对应文件
微信网页版能够使用(会顶掉微信app的登陆),微信

四、扫码登录网址

网址

五、解释

这是借助别人源码看出来也就请求路径加点东西和路径加点东西而已,不建议花时间去学习
本文不承担任何责任文章来源地址https://www.toymoban.com/news/detail-834247.html

到了这里,关于微信网页版能够使用(会顶掉微信app的登陆)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包