www.webdeveloper.com
Results 1 to 2 of 2

Thread: Is it possible to remove menu bar, address bar at onLoad ?

  1. #1
    Join Date
    May 2007
    Posts
    4

    Is it possible to remove menu bar, address bar at onLoad ?

    Hi,

    Is there anyway to remove menu bar, address bar from browser
    at OnLoad ?

    I know how to disable those bar when opening new windows
    but user still can access the page directly without having to click from my link
    so, those bar still exist

    my point is how to prevent user to view source from menu bar

    any idea ?

  2. #2
    Join Date
    Oct 2007
    Location
    Western Massachusetts, USA
    Posts
    387
    As far as I know, you can't change a window after it is opened.

    Quote Originally Posted by naruponk View Post
    Hi,
    my point is how to prevent user to view source from menu bar
    any idea ?
    Even if you can hide view source by using window.open() with parameters to hide the menu bar(s) AND the broswer allows it with its security settings/preferences... people can just use a broswer cache, or view the source of your web page through another frame. It simply is not secure. Right clicking can be blocked too, but that is also fairly difficult to implement and still doesn't eliminate the broswer cache. You could send HTTP headers to tell the broswer not to cache it, but the person could just request the web page in a custom-made console program and simply get it regardless of the frantic headers. You really can't completely hide source code. There is a sticky topic in this forum i believe about it.
    Computer programmer / web developer.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles