restrict address bar(url) user can not change it once write it

I will open a web page as popup window in which I will take feedback form tha only username (Textbox) and comments((TextBox) but it will just come when user write on addressbar(by URL) and we restrict them(user) dont change the address of that page until fill the form or close it.
jyotiramanAsked:
Who is Participating?
 
Gautham JanardhanConnect With a Mentor Commented:
you can hide the address bar instead of restricting entry (don't know whether we can do that)
var window_dimensions = "toolbars=no,menubar=no,location=no,scrollbars=yes,resizable=yes,status=yes"  
window.opener=self  
window.close()  
window.open("[url]","_blank",  window_dimensions);  
window.moveTo(0,0);  
window.resizeTo(screen.width,screen.height-100);

Open in new window

0
 
jyotiramanAuthor Commented:
How I will use on the page(a.aspx) and will call another(b.aspx) page and url will hide.
0
 
Gautham JanardhanCommented:
yep from a.aspx page you can invoke this script by passing the url of the second page(b.aspx).
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
jyotiramanAuthor Commented:
It is working
0
 
jyotiramanAuthor Commented:
it good
0
 
jyotiramanAuthor Commented:
its good
0
 
jyotiramanAuthor Commented:
it shoul slose now
0
 
jyotiramanAuthor Commented:
I want to close this question now
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.