2 Replies Latest reply on Aug 20, 2012 10:57 AM by JHaines

    Is it possible to link though an alternate browser?


      If we have an alternative browser (Firefox) but the default browser is IE6 (Yes I know its not supported) can the links that Jive sends out for digests and such be crafted in such a way to call or better yet prefer one browser over another or are we limited to the registry settings in Windows to determine our fate?  Or is there another alternative that I am not thinking of other than upgrade or move off off of Windows?


      • IE has to stay the default browser for other programs that have the opposite issue and depend on IE.Default
        • Re: Is it possible to link though an alternate browser?

          You could write a small interceptor program for Windows.

          Take a look at "Export HKEY_CLASSES_ROOT\http" (I guess you did this already).

          Replace the shell.open.command with a custom program (likely C or C++ but also Perl may be fine) which starts either IE or Firefox depending on the URL.


          Something like this should work (to be done: URL check):

          @="\"C:\\temp\\MiniFirefox.exe\" \"%1\""


          #include <stdio.h>
          #include <string.h>
          main( int argc, char *argv[] )
                  int len = strlen(argv[1]);
                  char s[len];
                  char *sPtr[4];
                  char *env [1];
                  strcpy(s, argv[1]);
                  sPtr[0] = "-osint";
                  sPtr[1] = "-url";
                  sPtr[2] = s;
                  sPtr[3] = NULL;
                  env[0] = NULL;
                  execve("C:\\Program Files\\Mozilla Firefox\\firefox.exe", sPtr, env);
                  return 0;