如何使用 C# BHO 在 IE 中链接电话号码

发布于 2024-10-06 01:56:26 字数 203 浏览 1 评论 0原文

我能够从网页检测电话号码,但无法链接它们。我想链接一个电话号码。例如 7774443333 到 7774443333

有什么办法可以做到这一点吗? 他们有什么解决方案吗?他们有什么方法可以将锚元素包裹在网页中的任何单词周围,或者有更好的解决方案吗?

I'm able to detect phone numbers from webpage but unable to linkify them. I want to to linkify a phone no. like 7774443333 to 7774443333

Is there any way to do that?
Is their any solution, Is their any method to wrap anchor element around any word in the webpage or something better solution?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

如果您将其放在 Web 表单上,您可以将文本放入标签中,并将标签包装在 a href 中,然后在代码隐藏中更改 a href 上的导航 url。

If your putting this on a webform, you could put the text in a label, and wrap the label in an a href, then change the navigation url on the a href in code-behind.

旧时浪漫 2024-10-13 01:56:26

听起来像是 IMarkupServices::InsertElement 的完美示例

Sounds like a perfect example of IMarkupServices::InsertElement

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文