How can I open a link in the default web browser from an HTA?

后端 未结 2 1742
刺人心
刺人心 2020-11-30 09:15

I\'m working on an application that is implemented as an HTA. I have a series of links that I would like to have open in the system\'s default web browser. Using

2条回答
  •  不知归路
    2020-11-30 10:01

    Nope, sadly I believe this is a browser specific implementation that will open new links with target="_blank" within the same browser.

    If you wanted to open it in the default browser, then you would need to interact with the OS, which JavaScript cannot do.

提交回复
热议问题