如何使浏览器的URL无效 [英] how to make browsers url inactive

查看:75
本文介绍了如何使浏览器的URL无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过单击按钮使浏览器的URL处于非活动状态,怎么办呢,似乎很困难,任何解决方案?????????????

i want to make the browsers url inactive on the click of the button how can i do it, seems difficult, any solution?????????????

推荐答案

您不能在当前正在运行的现有浏览器窗口中对其进行更改.您需要弹出一个新窗口,并相应地设置配置.像这样的东西:
You cannot change it in the existing browser window you are currently running in. You would need to popup a new window, setting the configuration accordingly. Something like this:
window.open ("http://www.codeproject.com", "codeproject","location=0,status=1,scrollbars=1, width=600,height=400");



祝你好运!



Good luck!


这篇关于如何使浏览器的URL无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆