Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
| Search | Today's Posts | Mark Forums Read
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 22nd, 2006, 08:45 AM
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Disable - View Source in Menu Bar

Hi ,
I am trying to able to disable view source option in MENU bar . I know it is very difficult to hide HTML/JS source code , but still i want to stop naive users from seeing source code.
Could you tell me how to do it.

Regards,
Vikram
 
Old March 22nd, 2006, 05:40 PM
Authorized User
 
Join Date: Jul 2005
Location: Westchester County, NY, USA.
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to prophet Send a message via MSN to prophet
Default

There is no way, to my knowledge, to completely gray out the "View Source" menu item. Utilizing some JavaScript / HTML obsfusication techniques is probably your best bet.

Bradley Baumann




Similar Threads
Thread Thread Starter Forum Replies Last Post
disable VIEW SOURCE in MSIE crmpicco Javascript How-To 24 March 1st, 2008 03:45 PM
Can I disable View Source command in web browsers? surendran HTML Code Clinic 15 February 23rd, 2008 05:41 AM
Disable View>Source (disable html source) kazmughal44 HTML Code Clinic 11 December 11th, 2007 11:53 AM
Disable side bar links of Wizard Control everest ASP.NET 2.0 Professional 0 February 14th, 2007 01:33 AM
How do disable Menu bar & address bar for browser bekim HTML Code Clinic 2 January 7th, 2005 12:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.