This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes disable view source menu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "disable view source menu" Watch "disable view source menu" New topic
Author

disable view source menu

Naser El Hak
Greenhorn

Joined: Nov 13, 2005
Posts: 1
How can I disable view- source in the menuber using javascript?I already tried disabling
right click in my web page but I can still view the source through the menubar.pls help...
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
It has been asked millions of times all over the net and the answer is you can not hide the source code of the page. The code is actually downloaded to your computer and saved in the temp folder too. Plus I can use a program to rip the code from your pages without going there, so basically do not bother hiding it. You can see JavaScript, CSS, and HTML as being open source. I may seem rude, but I am trying to keep you from wasting your time finding a solution.

Eric
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by Naser El Hak:
How can I disable view- source in the menuber using javascript?I already tried disabling
right click in my web page but I can still view the source through the menubar.pls help...


Welcome to Javaranch Naser.
I agree with Eric reply as well.
Ok, tell us why you want to hide the view source option ??


Spritle Software Blogs
 
GeeCON Prague 2014
 
subject: disable view source menu