Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 13 of 13
  1. #1
    New Coder
    Join Date
    Aug 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Remove Titlebar or disable to close button (x)......

    I am making a page in IE which changes the URL of another page. But I don't want the other page to be closable. So I want to either remove the title bar therefore removing the buttons altogether, or disable to the (x).

    The computer will be completely locked down so they wont be able to close with windows key commands.

    Any suggestions?

  • #2
    New Coder
    Join Date
    Aug 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If it isn't possible to remove the titlebar or disable the buttons. Is it possible to position the window with - (minus) top coordinates so that the window will actually be partially be out of view, and with resizing being false the user would not be able to move the window or close the browser down.

  • #3
    Regular Coder
    Join Date
    Nov 2003
    Location
    Vancouver Island Canada
    Posts
    139
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Don't know why you would want ot do this to your users but what the heck here you go.
    Code:
    <a href="" ONCLICK="window.open('http://yourwindow.htm', 'NewWindow', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,fullscreen=yes')"><h1>Don't Click Here</h1> </a>
    Last edited by glenmac; 08-09-2006 at 12:52 PM.

  • #4
    New Coder
    Join Date
    Aug 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Cheers, but I think I know what to do but just not how to do it.

    How I understand it, is that it has to be made fullscreen, then resized. Because I want both browsers to be on the screen at the same time. Any ideas how to do that?

  • #5
    Regular Coder
    Join Date
    Jan 2003
    Posts
    867
    Thanks
    4
    Thanked 8 Times in 8 Posts
    I don't understand. How would I close the window if I wanted to close it then?

  • #6
    New Coder
    Join Date
    Aug 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is for a chopped down internet cafe type thing, but we are supplying the links they are able to access. And as such we only want them to see on browser on the left hand side which will be thin and have the links, then a larger browser on the right hand side with the actual web page.

    We don't want them opening new browser windows or closing the existing ones. And it will all be locked down.

  • #7
    Regular Coder
    Join Date
    Oct 2003
    Location
    on a ship
    Posts
    574
    Thanks
    1
    Thanked 6 Times in 5 Posts
    well setting the window to be fullscreen wont work cuz for one even when fullscreen, there is still the (x), it just looks different. for two, hitting f11 will alternate between fullscreen and window mode.

    another thing, if what you are asking javascript to do was capable, dont you think all these pop-up adds out there would be doing it? it is not possible with javascript. to do what you are asking you need a program made, you cant just have the typical browser window do this. yes there are ways to cover up or hide the close button, but if the user knows what he/she is doing, he/she can easily uncover or show the close button, that and the ever so noted alt+f4. alt+f4 will close any window or program that has top focus.
    then theres the whole ctrl+alt+delete, which opens the task manager, and once there you can end process anything running.

    you need a program that can deactivate all those things.
    I make no attempt at pretending like I'm a professional. I offer help with what knowledge I do have.

  • #8
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Try opening the browser in kiosk mode to start with and that should solve the problem.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #9
    New Coder
    Join Date
    Aug 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the help, but we will be disabling all the keys. What is kiosk mode?

  • #10
    Regular Coder
    Join Date
    Nov 2003
    Location
    Vancouver Island Canada
    Posts
    139
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well setting the window to be fullscreen wont work cuz for one even when fullscreen, there is still the (x), it just looks different. for two, hitting f11 will alternate between fullscreen and window mode.
    brandonH have you tried running the code I provided? f11 doesn't work for me. The only way to close the window is using ctrl/W.

  • #11
    New Coder
    Join Date
    Aug 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Glenmac, is there anyway to then resize the fullscreen window?

  • #12
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Kiosk mode is where the browser is started up full screen and can't be closed or resized to anything other than full screen from within the browser. This stops the person using it from being able to access anything on the computer except for the browser. It is for use where you are providing web access from devices that anyone can use such as in kiosks, airports, libraries etc. and don't want them to be able to shut down the browser.

    You open IE in kiosk mode by adding a -k parameter to the command when it is being opened. The normal way it is configured is to put a shortcut to Internet Explorer in the startup folder and add the -k after the end of the target name that points to the IE program.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #13
    Regular Coder
    Join Date
    Nov 2003
    Location
    Vancouver Island Canada
    Posts
    139
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Glenmac, is there anyway to then resize the fullscreen window?
    No!! the only way the user can do anything is to close the window using crtl/w.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •