0

是否可以从 Safari 浏览器上的 Java 页面打开一个弹出窗口以在 IE 浏览器中打开一个弹出窗口。我认为这是不可能的。

4

2 回答 2

2

You shouldn't assume that the user has IE available.

Some applications can be launched from the browser (if the user has them installed). For example, itunes://, ftp://, etc.

To answer your original question, no, you cannot. It would be a security risk if you could arbitrarily launch applications on the users machine.

于 2009-03-24T07:02:41.207 回答
1

Good question! ;-) I too think this is not possible as the file will be opened with the default program associated to it.

Edit: Some investigations did not give me much information. Is it not possible with javascript too. More over if the user is using IE or FF then it was his decision. Why should you open another application without his permission. And I don think Browsers will allow this due to security issue even if this is possible.

于 2009-03-24T06:49:43.533 回答