Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to hide "All sites in this tab will be opened in internet explorer mode". in Edge with IE mode

9 views
Skip to first unread message

Hasmukh Ginoya

unread,
Dec 25, 2021, 6:16:28 AM12/25/21
to
Hi
I have create C# application to to launch MSEDGE.exe in IE mode using command line switch.
ProcessStartInfo processInfo = new ProcessStartInfo();
processInfo.FileName = "msedge";
StringBuilder arguments = new StringBuilder();
arguments.Append(" --ie-mode-force");
arguments.Append(" --internet-explorer-integration=iemode");
arguments.Append(" --no-first-run");
arguments.Append(" --no-service-autorun");
arguments.Append(" --disable-sync");
arguments.Append(" --test-type");
arguments.Append(" --disable-features=msImplicitSignin");
arguments.Append(" --user-data-dir=" + getEdgeTempFolder());
arguments.Append(" www.google.com");
processInfo.Arguments = arguments.ToString();
Process process = new Process();
process.StartInfo = processInfo;
process.Start();

The above code will launch Micorosoft Edge with IE mode. but when the page is displayed it will also display information bar on the top with "All sites in this tab will be opened in internet explorer mode".
How can i hide this information bar when it launch through any command line switch ?

this is the image of launching Edge with IE mode.
0 new messages