Skip to content

[FR] 请求适配issue页面 #901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
FlootingDream opened this issue Apr 30, 2025 · 3 comments
Open

[FR] 请求适配issue页面 #901

FlootingDream opened this issue Apr 30, 2025 · 3 comments

Comments

@FlootingDream
Copy link

No description provided.

@hoothin
Copy link
Owner

hoothin commented Apr 30, 2025

不会提供支持,但你可以自行实现
方法一:安装Ignore X-Frame headers 配合默认规则
方法二:用 pageElementByJs 抓取 react-app.embeddedData 下的 queryId 拼接并发送 graphql 请求,例如
body: {"query":"xxxxx","variables":{"includeReactions":false,"name":"xxxxx","owner":"xxxxx","query":"is:issue state:open repo:xxxxx sort:created-desc","skip":1}} 用 over 返回 IssueRow-module. 注意设置好 insert

@FlootingDream
Copy link
Author

不会提供支持,但你可以自行实现 方法一:安装Ignore X-Frame headers 配合默认规则 方法二:用 pageElementByJs 抓取 react-app.embeddedData 下的 queryId 拼接并发送 graphql 请求,例如 body: {"query":"xxxxx","variables":{"includeReactions":false,"name":"xxxxx","owner":"xxxxx","query":"is:issue state:open repo:xxxxx sort:created-desc","skip":1}} 用 over 返回 IssueRow-module. 注意设置好 insert

Image
请教,为何添加自定义规则也无法实现

@hoothin
Copy link
Owner

hoothin commented May 8, 2025

因为有cors限制。必须按照我说的两种方法做

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants