[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


Disable address bar, back and next buttons of IE browser.

Posted on 2004-10-26
Medium Priority
Last Modified: 2009-12-16

 I have created a web site for examiniation,
 When a user click on start exam, a new window opens using window.open method ( no address  bar, back buttons etc.)  but many users has popup window disabled on their machines so they unable to appear for exam.

 Now to overcome this, I have opened  exam screen using response.Redirect method, but this new IE window opens with  back button, next button and address bar.

 My problem is how to disable this address bar, back button and next button.

 If any one having suggestions for this problem, please help us, it is urgent.

 Thanks & Regards,
Question by:dashish
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 13

Accepted Solution

cLFlaVA earned 800 total points
ID: 12413881
The only way to remove address bars, menus, scrollbars, etc. is by using the window.open() event, and even that is not 100% foolproof, as you will likely run into some trouble wint Win XP SP 2.  Your best bet is to display a message to users telling them to disable popup blockers while they take your test.
LVL 15

Expert Comment

ID: 12413946
<!-- No Points -->

cLFlaVA is right.

You can never fully remove the options for the use to go back and stuff. You can open your window in fullscreen ( fullscreen=yes ), but that is IE only and users can still go back.

You can use window.showModalDialog( ) to open a new window and this will open a window that the user must interact with.

clFlava i have a question. Does SP2 block all popups or just unrequested ones?
LVL 13

Expert Comment

ID: 12414010
lol, cute jb :)

I'm not sure, my employer has refused to allow us to install SP2 until they're done with our own in-house usability testing.  I believe their popup blocking is simlar to FireFox's : unrequested popups.

I may be wrong though.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 12414085
I think hidding BACK button isn't full solution, because backspace works even if back button isn't displayed.

If you want totaly secure application then you must write your own java Client/Server application (or something similar)
LVL 13

Expert Comment

ID: 12414153
yeah, along with BACK button, you'd need to disable right click > back, Ctrl + left arrow, the menu bar (Go > Back), special mouse buttons, etc.
LVL 13

Expert Comment

ID: 12416441
Also mouse gestures in Mozilla browsers, etc.
LVL 31

Expert Comment

ID: 12416641
Use a Modeless dialog

  var win = window.showModelessDialog("modalExam.htm",null,"dialogWidth=700px;dialogHeight=600px")

then in the page modalExam.htm have

<iframe src='Exam1.htm' height=100% width=100%></iframe>

which is an iframe containing the first page Exam1.htm of the exam. The iframe allows you to navigate to the other exam pages.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question