Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How can we remove address bar of browser

How can we remove address bar of browser

Scheduled Pinned Locked Moved ASP.NET
javascripthelp
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amitrajahuja
    wrote on last edited by
    #1

    I am trying to remove address bar of browser from javascript. I am writing the following code window.open('newWindow.aspx', 'new', 'width=' + width + ', height=' + height + ', toolbar=no,location=0, left=' + left + ',top=' + top + 'screenX=' + left + ',screenY=' + top + ', directories=no, menubar=no,scrollbars=no,resizable=no, status=no'); please help, Thanks in advance.

    N A S 3 Replies Last reply
    0
    • A amitrajahuja

      I am trying to remove address bar of browser from javascript. I am writing the following code window.open('newWindow.aspx', 'new', 'width=' + width + ', height=' + height + ', toolbar=no,location=0, left=' + left + ',top=' + top + 'screenX=' + left + ',screenY=' + top + ', directories=no, menubar=no,scrollbars=no,resizable=no, status=no'); please help, Thanks in advance.

      N Offline
      N Offline
      NeverHeardOfMe
      wrote on last edited by
      #2

      amitrajahuja wrote:

      I am trying to remove address bar of browser from javascript.

      Then why haven't you asked this in the Javascript forum instead of here? I could be wrong, and can't find a reference now, but I seem to remember reading that Microsoft had removed the ability to do this, on the grounds that users had a right to know the address of whatever page they were on (and maybe re-directed to unwittingly) - call it a security measure.

      1 Reply Last reply
      0
      • A amitrajahuja

        I am trying to remove address bar of browser from javascript. I am writing the following code window.open('newWindow.aspx', 'new', 'width=' + width + ', height=' + height + ', toolbar=no,location=0, left=' + left + ',top=' + top + 'screenX=' + left + ',screenY=' + top + ', directories=no, menubar=no,scrollbars=no,resizable=no, status=no'); please help, Thanks in advance.

        A Offline
        A Offline
        Any_India
        wrote on last edited by
        #3

        search on google you will find it

        1 Reply Last reply
        0
        • A amitrajahuja

          I am trying to remove address bar of browser from javascript. I am writing the following code window.open('newWindow.aspx', 'new', 'width=' + width + ', height=' + height + ', toolbar=no,location=0, left=' + left + ',top=' + top + 'screenX=' + left + ',screenY=' + top + ', directories=no, menubar=no,scrollbars=no,resizable=no, status=no'); please help, Thanks in advance.

          S Offline
          S Offline
          Sujith C Jose
          wrote on last edited by
          #4

          hi, just try this. I think in new versions of IE address bar will be visible ...:~

          var strVal = "toolbar=0,location=0, directories=0, status=0, menubar=0,scrollbars=0,resizable=0," + "width=" + width + ",height=" + height +",left=" + left + ",top=" + top

          window.open("newWindow.aspx", "new", strVal);

          Sujith My Blog

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups