Click here to get back home

writing an html command to disable the right click>view source option

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
writing an html command to disable the right click>view source option lori3laz 11-01-2004
Get Chitika Premium
Posted by lori3laz on November 1, 2004, 2:58 pm
Please log in for more thread options
How do you disable the right click>view source option on web pages so people
can't view your coding and copy it? What's the html I need to include in my
website to utilize this feature?

Thank you.


Posted by Harlan Messinger on November 2, 2004, 3:09 pm
Please log in for more thread options

> How do you disable the right click>view source option on web pages so
people
> can't view your coding and copy it? What's the html I need to include in
my
> website to utilize this feature?

Even if you could do that, would you be satisfied when they choose View
Source from their browser's menu?



Posted by Neal on November 2, 2004, 3:26 pm
Please log in for more thread options

> How do you disable the right click>view source option on web pages so
> people
> can't view your coding and copy it? What's the html I need to include
> in my
> website to utilize this feature?

http://www.vortex-webdesign.com/help/hidesource.htm


Posted by Michael Winter on November 2, 2004, 7:58 pm
Please log in for more thread options

> How do you disable the right click>view source option on web pages so
> people can't view your coding and copy it? What's the html I need to
> include in my website to utilize this feature?

You can't. Besides:

1) That's not the only way to view the source.
2) Seeing as the user already has downloaded your page (they couldn't view
it otherwise), how do you propose you stop them from looking at its source?

Finally, what's so special that no-one should see your code?

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.


Posted by Martin Honnen on November 2, 2004, 8:34 pm
Please log in for more thread options


lori3laz wrote:
> How do you disable the right click>view source option on web pages so people
> can't view your coding and copy it? What's the html I need to include in my
> website to utilize this feature?

<img src="website.png" alt="my web site" width="800" height="600">

SCNR

--

        Martin Honnen
        http://JavaScript.FAQTs.com/


Similar ThreadsPosted
Writing headers for an HTML only when printing July 17, 2006, 5:31 am
Writing a "Hello world" HTML page from perl script ? June 11, 2006, 4:00 am
need different view option for *.html file October 11, 2008, 7:42 pm
EMBED-command - HTML 4.01 Transitional alternative? July 17, 2004, 7:42 pm
Windows - Running a system command from within HTML December 24, 2006, 5:53 am
changing file name in "Save as" option for html files October 26, 2005, 3:43 am
Looking For Writing Job? March 24, 2007, 12:36 am
Can an HTML source file be specified in unicode ? March 13, 2005, 12:29 pm
Can an HTML source file be specified in unicode ? October 12, 2006, 8:08 am
Lenth of lines in html source? July 7, 2008, 9:33 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap