Skip to content
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

请求细化指南中advanced部分,自定义网站调用 #48

Open
htshts1115 opened this issue Mar 21, 2023 · 1 comment
Open

请求细化指南中advanced部分,自定义网站调用 #48

htshts1115 opened this issue Mar 21, 2023 · 1 comment
Labels
discussion enhancement New feature or request
Milestone

Comments

@htshts1115
Copy link

Is your feature request related to a problem? Please describe.
新功能是否与解决某个问题相关, 请描述

  1. 看了当前wiki 修改arxiv的例子,但还是不太理解应该怎么写input, append, prepend query。 比如我想在arxiv上自动翻译、总结文章,而不是ask,应该如何实现呢?有没有更具体的参考指南

  2. 当前advanced 设定,如果要添加多个网站,只是在Custom Site Regex 项添加网站匹配,都只能用相同的设置吗?是否可以针对不同网站不同设置?

@josStorer josStorer added enhancement New feature or request discussion labels Mar 21, 2023
@josStorer
Copy link
Owner

使用正则表达式的或语法 | 分隔站点名, 即可实现多个站点适配
query部分参考该文档: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector

后续我进一步补充图文说明

自定义提示词我后续添加作为早期版本的解决方案, 更晚的版本通过插件系统改善用户体验

@josStorer josStorer added this to the v3.0.x milestone Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants