Is it possible to prevent double booting when starting HTML from a locally deployed HTA?

Asked 2 years ago, Updated 2 years ago, 438 views

I would like to start html from hta locally on the terminal, but I would like to control that the html cannot be started with duplex.

I am thinking of the following plan, but could you give me some advice on how to achieve my goal?
Or, if you know any other plan that you can achieve your goal, could you tell me?

<
In order to launch html on Edge from hta (HTML application), ActiveX has started as follows:

var shell=new ActiveXObject("WScript.Shell");
shell.Run("\"C:\\Program Files(x86)\\Microsoft\\Edge\\Application\\msedge.exe\"+Transition destination URL+"\"";

I would like to control the startup using the reference page below, but would it be possible to generate a window object even if I use the Run method?

Reference Site:
Window wants to prevent double booting - tell me!goo

<
①In order to perform boot control like the reference site in , would it be possible to open html from the hta file in Edge using window.open?open?(Because hta depends on IE, IE is opened in window.open.)

<
Please let me know if there is a way to close the html file if it is already started when the screen starts with the html on the open side, rather than applying double start control when starting html from hta.

javascript html windows internet-explorer microsoft-edge

2022-09-30 22:02

1 Answers

If you only want to run on managed edges, you can use the addon Prevent Duplicate Tabs to close tabs with the same address if they overlap.


2022-09-30 22:02

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.