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: 1 comment 7 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants