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

关于插件挂在代理问题 #333

Open
1 task done
YuJunZhiXue opened this issue Dec 6, 2024 · 7 comments
Open
1 task done

关于插件挂在代理问题 #333

YuJunZhiXue opened this issue Dec 6, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@YuJunZhiXue
Copy link

Extension information

“gzhanmh”

Steps to reproduce

@OshekharO
您好,请问关于某些插件需要翻墙观看或者找个地方的ip不可以访问需要挂在代理去访问,这种情况我想请问我在什么地方给予提示呢?

Miru version

“1.8.1”

Other details

No response

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
@YuJunZhiXue YuJunZhiXue added the bug Something isn't working label Dec 6, 2024
@OshekharO
Copy link
Member

OshekharO commented Dec 6, 2024

See site which are region restricted can only be accessed through vpn or maybe you can try using this reverse proxy https://github.com/OshekharO/CF-REVERSE-PROXY/ thing. There is no other way, as far as I know.

@YuJunZhiXue
Copy link
Author

查看受区域限制的站点只能通过 vpn 访问,或者您可以尝试使用这个反向代理 https://github.com/OshekharO/CF-REVERSE-PROXY/。据我所知,没有其他办法了。

我的意思不是说使用去在网站中使用,而是我在打开的时候给用户一个弹窗提示或者将需要挂代理这个话放在页面中,他自己去寻找代理,我只想给一个提示,关于这个提示我该怎么做

@OshekharO
Copy link
Member

OshekharO commented Dec 6, 2024

@appdevelpo any idea regarding this?

@appdevelpo
Copy link
Member

可以在請求被牆了之後 在搜尋結果返回一個 ”錯誤” 的搜尋結果,可以參考參考animepahe 的擴充套件,他也是403 之後返回一個訊息

@OshekharO
Copy link
Member

You can return an "error" search result after the request is blocked. You can refer to animationpahe's extension kit. It also returns a message after 403.

I knew about this but he is asking if we can implement pop-up stating that this extension requires vpn.

@YuJunZhiXue
Copy link
Author

您可以在请求被阻止后返回 “error” 搜索结果。可以参考 animationpahe 的扩展套件。它还会在 403 之后返回一条消息。

我知道这件事,但他问我们是否可以实施弹出窗口,说明此扩展需要 vpn。

是這個意思,我需要的不是在請求之後彈出,最好是可以在進入這個插件或者安裝完這個插件,最開始就直接彈出,請求就正常請求,但是要弹出这个讯息

@appdevelpo
Copy link
Member

appdevelpo commented Dec 9, 2024

這應該可以掛在load()底下,這個是當每次重啟app初始化插件會呼叫的,可能之後還要再加一個ShowDialogue 以及 ShowSnackBar 的api.另外可能必要的話再加一個OnInstall 的函數。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants