Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I was tackling the related task of running hta's from various browsers. I've put my findings here for anybody else who is trying to do that and finds this question.</p> <p><strong>You can run hta's from several browsers, using the same mshta executable that IE uses.</strong> You need fully qualified URI's in your hta code, which isn't needed from IE.</p> <p>Today (2011-02-01) I tried using hta's from <strong>Firefox (3.6.13)</strong>, <strong>Opera 11</strong> and <strong>Safari for Windows 5.0.3</strong>.</p> <p>After some teething problems in Firefox <strong>I got hta's to work</strong> from those browsers. <em>(In all cases these <strong>use the same mshta executable</strong> that IE uses. This is <strong>not hta's running in other browsers</strong>, but running hta's <strong>from</strong> other browsers. This might suit your purposes.)</em></p> <p>The hta started desktop applications on my machine (as it does from IE).</p> <p>The experience <strong>wasn't perfect</strong>. For IE I set root relative paths in the hta. For the other browsers you can't do that. You need to set fully qualified URI's for things like images, referenced hta's and icons.</p> <p>So after a little editing I have the hta's working from 4 browsers (IE 8, FF 3, Opera 11 and Safari 5 (Windows)).</p> <p><em>(Quick snapshot of that. I'm running hta's from a web server on the local machine. (I have no plans to run them from remote sites.) This allows my workflow to go from browser to desktop more smoothly. The hta's fire up local applications that do things like edit web pages (including the hta's themselves), validate those pages and fire up IDE's. Bridging the gap between browser and desktop apps. has been a liberating experience. I recommend it!)</em></p> <p><strong>Notes:</strong></p> <ol> <li>The Firefox <strong>development team</strong> have notes about enabling hta's which encouraged me to continue after initial failure.</li> <li>To achieve this in <strong>Firefox configuration</strong> I set HTML applications to run under <strong>mshta.exe</strong> <em>(called Microsoft HTML Application Host, in the combo box)</em>. Initially that didn't work. I selected "other" picked the same application by hand. That worked, though I have two identical looking entries! <strong>You need mshta.exe on your machine to run for any browser</strong>. I assume the normal way to install mshta is with IE. (<em>mshta is essentially a modified version of IE, possibly not the current version!</em>)</li> <li>The Firefox developers have marked this as a <strong>strategic effort</strong> to dislodge IE from the Enterprise. Their implementation (and Opera's) force you to use fully qualified URI's but apart from that the hta's work as expected.</li> <li>Firefox seems to <strong>cache</strong> old versions of the hta's, and doesn't download new ones, though it appears to download something! You might need to clear the cache during development.</li> <li>My first attempt to do it with Chrome was not successful. Further investigation suggests <strong>Chrome doesn't have a native interface</strong> for invoking other processes, based on their file extension.</li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload