如何将URL设置为只读 [英] How to make URL to Read Only

查看:126
本文介绍了如何将URL设置为只读的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Every One,
I have a requirement to make the browser URL to Read Only true like in the Bank Net banking sites.When the browser open it self opening the URL should be in the read only state like we can read the URL but unable to Modify the URL.Can we do this using javascript?Make sure that am not asking in the window open form please provide me the solution in the direct browser.

推荐答案

你可以打开一个位置= 0的弹出窗口或使用弹出控件...



i suugest你查看这个链接



http://stackoverflow.com/questions/7228892/how-to-make-the-browser-url-to-readonly-true-using-javascript [< a href =http://stackoverflow.com/questions/7228892/how-to-make-the-browser-url-to-readonly-true-using-javascripttarget =_ blanktitle =New Window> ^ ]
You can open a popup windows with location=0 or use a popup control...

i suugest u to check this link

http://stackoverflow.com/questions/7228892/how-to-make-the-browser-url-to-readonly-true-using-javascript[^]


银行网站都在弹出窗口中执行此操作。我相信它是弹出窗口的参数。



https://sheriframadan.com/2012/07/javascript-css-modal-dialogs-and-popup-windows/ [ ^ ]
The banking sites all do it in a pop up window. I believe it's a parameter on a pop up.

https://sheriframadan.com/2012/07/javascript-css-modal-dialogs-and-popup-windows/[^]


这篇关于如何将URL设置为只读的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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