We have a situation where the VF page will be launched in a Chrome browser. The VF page will have a link, when users click that link we want the resulting window to open in IE 11.

There is also a scenario where we want the reverse to happen for a different page.

  • Why would you even want to force a user to open a link in browser different than they are working?
    – Raul
    Oct 18 '17 at 15:21
  • 2
    This question does not seem specific to Salesforce and might be better Stack Overflow.
    – Adrian Larson
    Oct 18 '17 at 15:21

Specifically, there's nothing you can do about it (short of using a zero-day exploit to take over the OS or browser to execute code remotely). Browsers will typically open new windows of the same browser, and for unknown types, open the default application for that file type. There's no way that you can control this behavior in JavaScript.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.