Click here to Skip to main content
15,901,035 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
SQL
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.
Posted
Comments
ZurdoDev 23-Jan-14 10:22am    
I don't believe you can do it in the direct browser but as the solutions have said you can do it in a popup 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[^]
 
Share this answer
 
v3
Comments
Christian Graus 23-Jan-14 3:23am    
You realise this is what I said, right ?
Sumit_Pathak 23-Jan-14 3:29am    
ya...
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/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900