Home  >  Article  >  Backend Development  >  点击下载链接时,出现提示框的原理

点击下载链接时,出现提示框的原理

WBOY
WBOYOriginal
2016-06-23 14:26:21896browse

下载提示框的实现原理

一个基于web的应用,用note-webkit打包后,我想实现,在点击下载链接时,自己编写一个提示框,求助。。。

请教浏览器在点击下载链接时出现的另存为提示框的时间原理

回复讨论(解决方案)

这应该是浏览器封装好的把   自定义 应该不行的把  ,JS调用另存为 提示框

<input name=Button onClick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为><OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT>

你可以这样

再判断返回值。。再调用其它的

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn