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

插件改进建议 #141

Open
1 task done
dffxd-suntra opened this issue Dec 5, 2023 · 2 comments
Open
1 task done

插件改进建议 #141

dffxd-suntra opened this issue Dec 5, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@dffxd-suntra
Copy link

Describe your suggested feature

插件class初始化的时候最好传入一些基本函数
比如:
useCors(url: string): string就是传入一个连接,返回一个用代理的链接
可以照搬一些userscript的功能,比如键值对储存等

类添加一个static setting: any[],就是一个array存储所有的设置选项,初始化的时候可以传入

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
@dffxd-suntra dffxd-suntra added the enhancement New feature or request label Dec 5, 2023
@dffxd-suntra
Copy link
Author

主要是实现登录功能,就是设置导入cookie等

@MiaoMint
Copy link
Member

#164

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

No branches or pull requests

2 participants