Skip to content

网页审查工具是否有不通过脚本注入GM_xmlhttpRequest获取快照链接的方法? #612

Closed Answered by lisonge
adproqwq asked this question in Q&A
Discussion options

You must be logged in to vote

快照链接的本质是将快照文件 file.zip 上传到 github

GM_xmlhttpRequest 的作用是跨域并且自动携带 GitHub cookie 请求

如果不考虑跨域,你需要手动携带 GitHub cookie

https://github.com/gkd-kit/inspect/blob/main/src/utils/github.ts

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
7 replies
@adproqwq
Comment options

@lisonge
Comment options

@adproqwq
Comment options

@lisonge
Comment options

@adproqwq
Comment options

Answer selected by adproqwq
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@adproqwq
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants