2

I'd like to display a warning on some websites, similar to the warning IE shows when it blocks an ActiveX.

IE warning

Or a bar (not a tool bar) like Google Translate (from the Google Toolbar):

enter image description here

I'm trying to do this in C# in a Browser Helper Object. Any code sample, or reference on the subject?

UPDATE: this question explains how to do it in C++, but I cannot figure out how to translate this into C#

Community
  • 1
  • 1
Julien
  • 5,729
  • 4
  • 37
  • 60

1 Answers1

3

The Information Band (and it's successor notification UI) is not extensible. Faking it is also frowned upon. You could inject JS+HTML into the page to mimic it, however.

i_am_jorf
  • 53,608
  • 15
  • 131
  • 222
  • Thanks. I add to do the same in Chrome/Safari/Opera, but using the native warning like in Firefox would have been preferable – Julien Jan 27 '12 at 00:31