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

    Can't hide URL address in window?

    I'm using window.open with:


    But I can still see the URL, and I can still re-size the window!?!?!

    Am I doing something wrong?

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Halle (Saale), Germany
    Thanked 1,052 Times in 1,025 Posts
    No, you’re not doing anything wrong. It’s just that different browsers have different implementations and settings. I know that Firefox changed the way child windows are displayed to always show the address bar, most likely as a security/usability measure so people can always see on which domain they are (e. g. to prevent phishing etc.). Therefore, any attempt to hide that address bar with JS is futile. As to resizing, this is also something that can specifically be disabled by the user in the browser settings. I wouldn’t rely on it.

    Contemporary approaches tend to not use popup windows anyway, but rather dynamic overlays inside the document.


    Posting Permissions

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