315
微软
Internet Explorer
升到的最新版的IE 11后,无法调用pasteHTML粘贴带有mailto的连接
我在用delphi调用IE的OLE实现对网页的编辑,下面是源码,是在内容中插入源码
ovSelection := Edit.OleObject.Document.selection; //获得选择对象
ovSelection.Clear;
ovTextRange := ovSelection.createRange; // create a TextRange from the current selection
ovTextRange.pasteHTML(unsubscribeStr); //插入源码, unsubscribeStr 的内容是 <A href="mailto:*** 因为隐私原因删除电子邮件地址 ***>***</A>
以上版本在IE 11以前的版本可以,在win 10刚刚推出时的IE 11版本中也可以,最近将win 10升级到了最新版,IE 11也升级到了最新版,上面的代码就无效了。
后来经过测试,pasteHTML函数可以插入 <A href="https://www.***">**</A>,也就是可以插入http, https, ftp, telnet连接,但是无法插入mailto, news连接。 当插入mailto链接时,将会自动mailto链接,只留下了<A>***</A>
最后更新:2017-05-14 23:50:46
上一篇:
ie11问题:win10系统ie11部分加密网页没有安全锁
下一篇:
winds10应用商店下载
IE 11 无法更新,错误代码:0x80092004
IE11提示typeerror,对象不支持openremotedoc属性或方法
script7002:XMLHttpRequest Network Error 0x80004004
ie11 install error :14081 ,the referenced assembly could not be
Cookies are no longer stored in files. Please use
you need to install the following CSPs before the enrollment,Microsoft
网页自动刷新
IE11 完全打不开任何网页,除了百度的首页和搜索页面
您的浏览器禁止运行ActiveX控件,请先修改浏览器设置,否则程序无法运行
ie中嵌入ocx导致闪烁的问题