Is it possible to remove menu bar, address bar at onLoad ?
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 ?
As far as I know, you can't change a window after it is opened.
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.
Originally Posted by naruponk
Computer programmer / web developer.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)