Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

如何获取米游社 Cookie #120

Open
Arondight opened this issue Sep 18, 2021 · 23 comments
Open

如何获取米游社 Cookie #120

Arondight opened this issue Sep 18, 2021 · 23 comments
Labels
documentation Improvements or additions to documentation

Comments

@Arondight
Copy link
Owner

Arondight commented Sep 18, 2021

这里以 Firefox 浏览器为例,首先点击右上角的应用程序菜单,选择“新建隐私窗口”。

图片

在地址栏输入 https://bbs.mihoyo.com/ys/,按下回车键,打开米游社原神社区。

图片

然后,点击右上角的米游兔图标,登录你要获取 Cookie 的米游社(原神)账号。

图片

登录成功后,米游兔的图标变为你的米游社论坛头像。

图片

这时新建书签,将下面的代码保存为书签。

javascript:(function () { prompt("", document.cookie); })();

图片

然后,在刚才登录好的米游社原神论坛页面上,点击刚才保存的书签,就可以得到米游社 Cookie 了,按下组合键 Ctrl+ACtrl+C,就可以复制到你的粘贴板里了。

图片

@NiHang

This comment has been minimized.

@Arondight

This comment has been minimized.

Repository owner deleted a comment from NiHang Nov 17, 2021
@Arondight

This comment has been minimized.

@NiHang

This comment has been minimized.

@mark9804

This comment has been minimized.

@NiHang

This comment has been minimized.

@Arondight

This comment has been minimized.

@NiHang

This comment has been minimized.

@Arondight

This comment has been minimized.

@NiHang

This comment has been minimized.

@Arondight

This comment has been minimized.

@NiHang

This comment has been minimized.

@Arondight

This comment has been minimized.

@NiHang

This comment has been minimized.

@Arondight

This comment has been minimized.

@NiHang

This comment has been minimized.

@Arondight

This comment has been minimized.

@NiHang

This comment has been minimized.

@mark9804
Copy link
Collaborator

mark9804 commented Mar 21, 2022

也可以直接在浏览器 console 里面使用以下代码来获取 cookie ,但这要求有基础的调试知识,不如书签来的直观

prompt("", document.cookie);

@Luomeng0104

This comment was marked as off-topic.

@Arondight

This comment was marked as off-topic.

@Luomeng0104

This comment was marked as off-topic.

@mark9804

This comment was marked as off-topic.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants