I'm pretty sure that you wouldn't want to be able to do that from javascript either. Javascript runs in the client's browser, so you shouldn't be able to escape to execute some other app. If you could get IE to open from Netscape, that would basicly also allow you to execute anything you wanted to on the visitor's computer!

And what if your visitor doesn't have IE ? There are people browsing the web on their cell phones these days...

When people talk about browser redirection, they are mostly describing the use of CGI to detect the useragent and redirect the visitor to a site customized for that browser. You could detect old browsers and send them to a plain text layout, and send more up-to-date browsers to your CSS & Javascript extravaganza. You wouldn't even have to code the pages twice if you used some sort of templating system to generate the pages for you.


In reply to Re: Browser redirection by mull
in thread Browser redirection by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.