Awa*_*mar -9 javascript php jquery
我试图在所有浏览器中隐藏地址栏.我做了足够的搜索,找到了完成工作的代码.以下是代码
function openWindow(){
var browser=navigator.appName;
if (browser=="Microsoft Internet Explorer")
{
window.opener=self;
}
window.open("index.html","null","width=900,height=750,toolbar=no,scrollbars=no,location=no,resizable =yes");
window.moveTo(0,0);
window.resizeTo(screen.width,screen.height-100);
self.close();
}
Run Code Online (Sandbox Code Playgroud)
location = no/0等不起作用,地址栏仍然存在.我该怎么办?如果不可能,那么有没有办法在地址栏中隐藏URL?
| 归档时间: |
|
| 查看次数: |
3353 次 |
| 最近记录: |