开发者

How to make the browser Url to ReadOnly True using javascript?

开发者 https://www.devze.com 2023-04-01 00:08 出处:网络
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

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.


I dont think you can do this. The browser does not want you to hide the url for anti-spoofing reasons.

You can open a popup windows with location=0 or use a popup control

0

精彩评论

暂无评论...
验证码 换一张
取 消