From abb1bf719dbe0cf131bc60d585e9a274a9bc9d1c Mon Sep 17 00:00:00 2001 From: shanmite <1971513084@qq.com> Date: Wed, 5 May 2021 20:32:41 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5a7cee4..4d190da 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,10 @@ > [Actions官方文档](https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions) -如果README图片加载失败可前往[此处](https://gitee.com/shanmite/LotteryAutoScript)查看 +如果README图片加载失败可前往[此处](https://gitee.com/shanmite/LotteryAutoScript)查看 + +已实现功能: + > 点赞 评论 转发 @好友 带话题 随机动态 检测开奖 清理 [油猴版本](https://greasyfork.org/zh-CN/scripts/412468) @@ -88,15 +91,15 @@ Chrome浏览器: ```js /** 自动复制到粘贴板 */ - copy( - document - .cookie - .split(/\s*;\s*/) - .map(it => it.split('=')) - .filter(it => ['DedeUserID','bili_jct', 'SESSDATA'].indexOf(it[0]) > -1) - .map(it => it.join('=')) - .join('; ') - ) + document + .cookie + .split(/\s*;\s*/) + .map(it => it.split('=')) + .filter(it => ['DedeUserID','bili_jct', 'SESSDATA'].indexOf(it[0]) > -1) + .map(it => it.join('=')) + .join('; ') + .split() + .forEach(it => copy(it) || console.log(it)) ``` 4. 进入你Fork的GitHub仓库