IE extension auto-load question

  • Thread starter Thread starter Jeffery
  • Start date Start date
J

Jeffery

G'Day all,

I have written an extension for IE in JScript.

Is it possible to have the extension execute when the document loads in
the window as opposed to needing the user to activate it?

To achieve a similar result in firefox I simply include the line:
window.addEventListener("DOMContentLoaded", hello, false);

However, I suspect this is more an issue to do with how IE loads the
extension vs Firefox.

Any help would be appreciated.

Cheers

Jeffery
 
Jeffery said:
I have written an extension for IE in JScript.

Is it possible to have the extension execute when the document loads
in the window as opposed to needing the user to activate it?

You need a BHO:

http://msdn.microsoft.com/library/en-us/dnwebgen/html/bho.asp

You can't write those in script tough, you need at least a little bit of
C++ code.

There are a few projects around to port GreaseMonkey to IE. You may be
able to use one of them, or at least borrow ideas as to how to implement
your own. See

http://www.daishar.com/blog/archives/2005/03/greasemonkey_fo.html
http://www.bhelpuri.net/Trixie/Trixie.htm
http://www.reifysoft.com/turnabout.php

I haven't used any of them, I don't know how good they are.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
 
Back
Top