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

fix(vscodePlugin): prevent the default redirect of links in vscode webview #973

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

RSS1102
Copy link
Collaborator

@RSS1102 RSS1102 commented Nov 13, 2024

当前如果在插件内打开一个 https / http 的链接,会自动使用默认的浏览器打开这个地址,但是 vscode plugin webview 也会发生跳转,从而产生黑屏。

2024-11-13.-1.mp4

当前,在检测到为 https / httpA 链接时,依旧使用默认浏览器打开这个地址,但是阻止 A 链接的默认跳转行为。

2024-11-13.-2.mp4

@sunsonliu sunsonliu merged commit 8f9a319 into Tencent:dev Nov 13, 2024
4 checks passed
@RSS1102 RSS1102 deleted the vscodePlugin/fix/link-jump branch December 4, 2024 04:17
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

Successfully merging this pull request may close these issues.

2 participants