making ie compatible code firefox compatible using Greasemonkey?

Discussion in 'Javascript' started by pantagruel, Feb 17, 2006.

  1. pantagruel

    pantagruel Guest

    Hi,
    The company I work for has purchased an absolute dog of a web based
    application that will only work on IE, looking through the code the
    most apparent IE only part is the continual use of the xmlhttp
    activeXobject, I won't have access to the source code so I can't change
    that but what I was thinking was would it be possible to write a
    Greasemonkey extension that loaded a script that declared activexobject
    as being a new instance of the firefox xmlhttp object, as well as
    whatever other objects that needed to be declared/extended in such a
    way that the IE site would run in Firefox.

    I suppose that depends on where/when Greasemonkey loads the extending
    script in the page load?

    Also, does anyone know of any scripts that already do a bunch of
    setting of objects in this way. I'm thinking of stuff that makes
    document.all mean sense to the W3C DOM. Normally this stuff is done as
    a one off.

    Any comments on this relatively not well thought out as yet idea?

    Thanks
     
    pantagruel, Feb 17, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Adrian Holovaty

    ANN: Greasemonkey compiler

    Adrian Holovaty, Apr 27, 2005, in forum: Python
    Replies:
    0
    Views:
    369
    Adrian Holovaty
    Apr 27, 2005
  2. why the lucky stiff
    Replies:
    1
    Views:
    222
    Phil Tomson
    Aug 30, 2005
  3. Lachie
    Replies:
    1
    Views:
    104
    Adam Keys
    Mar 24, 2006
  4. Alexander Paul
    Replies:
    2
    Views:
    132
    Martin Honnen
    Nov 28, 2006
  5. spx2

    firefox extension + greasemonkey

    spx2, Jun 7, 2008, in forum: Javascript
    Replies:
    0
    Views:
    106
Loading...

Share This Page