Can the Edge settings be configured to hide the Open/Open file option through the command line or through a config file?

Richard from Dorset 20 Reputation points
2023-11-03T09:56:27.9433333+00:00

I'm writing an application that will be run on a dedicated PC, which will use Edge to display its UI in kiosk mode. The UI offers the user the option to download files through the browser. (Files need to be downloaded through the browser because the application permits multiple user sessions with multiple browsers, some of which might reside on remote PCs, so the action of saving the download is delegated to the browser.)

On the dedicated PC, Edge is started up in kiosk mode when the PC initialises using the command line with the --kiosk and --edge-kiosk-type-fullscreen options. On remote machines Edge could be be started normally.

Some of these downloads are html files. I notice that Edge's download popup includes either an 'Open' or an 'Open file' option (depending on how its download settings are configured). Whenever the user selects to open the download on the dedicated PC, the file opens in the browser in full screen mode, covering the application UI. Because the browser is in kiosk mode there is no back button or visible tabs to help the user navigate back to the UI.

Can Edge be configured to hide these 'Open'/'Open file' options within its download popup. If a feature like this is available, it would be most convenient if it could be configured automatically either when the application is installed or when the application starts up. (This would only need to be done on the dedicated PC, where the browser is used primarily for the app, so it's not a big issue to modify the default behaviour of the browser on the dedicated PC because won't be used much for anything else.)

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,297 questions
0 comments No comments
{count} votes

Accepted answer
  1. Wenying Lu-MSFT 1,835 Reputation points Microsoft Vendor
    2023-11-06T09:35:19.0666667+00:00

    Hi @Richard from Dorset ,

    Unfortunately, I had tested on my side, there is no way to use "hide the Open/Open download file" feature in kiosk Edge.
    We recommend that you could submit a feature request to the Dev Team by sending feedback(Press Alt+Shift+I) in Microsoft Edge.

     

    By the way, according to your description, you could edit the Edge Browser shortcut to achieve page forward/goback in kiosk mode. 

    1. Right-click on the Edge shortcut and select the option Properties from the menu.
    2. Under the Shortcut tab, navigate to the option Target.
    3. Add the "--enable-features=msBackspaceKeyNavigatePageBack" flag. Then Click on Apply and OK.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Regards,

    Wenying Lu

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.