From 7e63649a55f81266a9b0ed94eb237e85dbebc2bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wuyi=E6=97=A0=E7=96=91?= <444835641@qq.com> Date: Wed, 9 Mar 2022 09:52:03 +0800 Subject: [PATCH] =?UTF-8?q?=20=E7=B1=B3=E6=B8=B8=E5=B8=81=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E8=8E=B7=E5=8F=96=E5=89=8D=E6=8F=90=EF=BC=9AStoken?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=8C=87=E5=8D=97fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c88264be..aaee8a42 100644 --- a/README.md +++ b/README.md @@ -46,16 +46,18 @@ else **警告:Cookies属于个人隐私,其效用相当于账号密码,请勿随意公开!** ## 丨获取米游社Stoken([AutoMihoyoBBS](https://github.com/Womsxd/AutoMihoyoBBS#%E8%8E%B7%E5%8F%96%E7%B1%B3%E6%B8%B8%E7%A4%BECookie)) -**前提**:已经添加过米游社Cookies,并且已经绑定过uid - -Stoken仅用于米游社币的获取,如果你只想使用其他功能,没有必要添加Stoken - +**前提**:已经添加过米游社Cookies,并且已经绑定过uid(仅用于米游社币的获取) ```sh var cookie=document.cookie; var ask=confirm('Cookie:'+cookie+'\n\nDo you want to copy the cookie to the clipboard?'); if(ask==true){copy("添加stoken" + cookie);msg=cookie}else{msg='Cancel'} ``` +1. 复制上面全部代码,然后打开http://user.mihoyo.com/ +2. 在页面上右键检查或者Ctrl+Shift+i +3. 选择控制台(Console),粘贴,回车,在弹出的窗口点确认(点完自动复制) +4. 然后在和机器人的私聊窗口,粘贴发送即可 + **警告:Cookies属于个人隐私,其效用相当于账号密码,请勿随意公开!** ## 丨感谢