Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在某些网站上显示警告,类似于 IE 在阻止 ActiveX 时显示的警告。
或者像谷歌翻译(来自谷歌工具栏)这样的栏(不是工具栏):
我正在尝试在 C# 中的 Browser Helper 对象中执行此操作。有关该主题的任何代码示例或参考?
更新:这个问题解释了如何在 C++ 中做到这一点,但我不知道如何将它翻译成 C#
信息带(及其后续通知 UI)不可扩展。伪造它也令人不悦。但是,您可以将 JS+HTML 注入页面来模仿它。