-
网页审查工具是否有不通过脚本注入GM_xmlhttpRequest获取快照链接的方法? 通过本地上传快照文件的快照获取快照链接的途径是否只有这一种? 如果不考虑跨域问题是否还有其它的方法? |
Beta Was this translation helpful? Give feedback.
Answered by
lisonge
May 6, 2024
Replies: 1 comment 7 replies
-
快照链接的本质是将快照文件 file.zip 上传到 github GM_xmlhttpRequest 的作用是跨域并且自动携带 GitHub cookie 请求 如果不考虑跨域,你需要手动携带 GitHub cookie https://github.com/gkd-kit/inspect/blob/main/src/utils/github.ts |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
adproqwq
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
快照链接的本质是将快照文件 file.zip 上传到 github
GM_xmlhttpRequest 的作用是跨域并且自动携带 GitHub cookie 请求
如果不考虑跨域,你需要手动携带 GitHub cookie
https://github.com/gkd-kit/inspect/blob/main/src/utils/github.ts