function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Div403Div403 

How to open google chrome window in Internet Explorer?

Hi All,

I am trying to open google chrome window while clicking on salesforce custom button in Internet Explorer.

I am trying the below javascript code to open chrome browser in internet explorer by clicking on custom button

function openChrome{
var url = 'http://google.co.in';
var chromeCommand = "Chrome --app="+URL+" --allow-outdated-plugins";
var shell = new ActiveXObject("WScript.Shell");
shell.run(chromeCommand);
}

Any help is appreciated!!
Gaurav KheterpalGaurav Kheterpal
You can simply open a Chrome frame using this (https://success.salesforce.com/ideaView?id=08730000000HOIVAA4) feature.
 
<apex:page showHeader='true' X-UA-Compatible="chrome-1">

If my answer helps resolve your query, please mark it as the 'Best Answer' and upvote it to benefit others and improve the overall quality of Discussion Forums.

Gaurav Kheterpal
Certified Force.com Developer| Salesforce Mobile Evangelist| Developer Forums Moderator| Dreamforce Speaker



 
Div403Div403
Hi,
Thanks for response
I am getting the below error message
Unsupported attribute x-ua-compatible in <apex:page>
Gaurav KheterpalGaurav Kheterpal
My bad - Chrome frame is actually retired (in 2014) and no longer available. Why exactly do you need Chrome? Is there anything that you are not able to handle in IE itself?

If my answer helps resolve your query, please mark it as the 'Best Answer' and upvote it to benefit others and improve the overall quality of Discussion Forums.

Gaurav Kheterpal
Certified Force.com Developer| Salesforce Mobile Evangelist| Developer Forums Moderator| Dreamforce Speaker


 
Div403Div403
No Gaurav. We got requirement to open the above URL in a chrome browser when user clicks salesforce custom button in IE.

Is there any other workaround to do this?
 
Faiza Naz 10Faiza Naz 10
Did you get any solution to this problem?
lis iselis ise
I'm also using the same model of my internet. You can check the reviews of router (https://routerinsider.com/best-routers-for-wow-internet/) which may help you to choose best.