标签:word ram doc 浏览器 frame link lin param src
function open_without_referrer(link){
document.body.appendChild(document.createElement(‘iframe‘)).src=‘javascript:"<script>top.location.replace(\‘‘+link+‘\‘)<\/script>"‘;
}
如果如果是新窗口打开,可以使用如下代码:
function open_new_window(full_link){
window.open(‘javascript:window.name;‘, ‘<script>location.replace("‘+full_link+‘")<\/script>‘);
}
参考链接:https://segmentfault.com/q/1010000000123441
标签:word ram doc 浏览器 frame link lin param src
原文地址:http://www.cnblogs.com/itlqs/p/6848332.html