• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

disable view source menu  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 ??
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!