<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'how do i stop people looking at view source' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'how do i stop people looking at view source' posted on the 'HTML &amp; WEB-Design' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 02:36:16 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 02:36:16 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>how do i stop people looking at view source</title>
      <link>http://www.programmersheaven.com/mb/html/92363/92363/how-do-i-stop-people-looking-at-view-source/</link>
      <description>how do i stop people looking at view source.&lt;br /&gt;
can someone pleas tell me&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/html/92363/92363/how-do-i-stop-people-looking-at-view-source/</guid>
      <pubDate>Thu, 20 Dec 2001 17:43:18 -0700</pubDate>
      <category>HTML &amp; WEB-Design</category>
    </item>
    <item>
      <title>Re: how do i stop people looking at view source</title>
      <link>http://www.programmersheaven.com/mb/html/92363/92428/re-how-do-i-stop-people-looking-at-view-source/#92428</link>
      <description>: how do i stop people looking at view source.&lt;br /&gt;
: can someone pleas tell me&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
You could disable right-click and open the page in a popup without menu buttons ... offcourse, people can always look at the source of the page that called the popup, open it in a sepperate explorer and use the menu to look at the source, so there is no perfectly safe way to prevent it&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/html/92363/92428/re-how-do-i-stop-people-looking-at-view-source/#92428</guid>
      <pubDate>Fri, 21 Dec 2001 03:26:28 -0700</pubDate>
      <category>HTML &amp; WEB-Design</category>
    </item>
    <item>
      <title>Re: how do I stop people looking at  sourcecode?</title>
      <link>http://www.programmersheaven.com/mb/html/92363/92450/re-how-do-i-stop-people-looking-at--sourcecode/#92450</link>
      <description>There is one thing more you can do then idaze said:&lt;br /&gt;
I didn't test it but that must be possible:&lt;br /&gt;
&lt;br /&gt;
1. in the start window write a script for "onload" which disables adressbar, menu, and writes something useless in the status bar.&lt;br /&gt;
&lt;br /&gt;
2. now before opening any other htm-file in the same browser-window or in any new, write that what I said above as a property for the new file or window before opening.&lt;br /&gt;
&lt;br /&gt;
I hope that works as I imagine it and helps you!&lt;br /&gt;
Firestorm&lt;br /&gt;
blue_surfer2000@yahoo.de&lt;br /&gt;
&lt;img src="http://www.programmersheaven.com/images/Community/twink.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/html/92363/92450/re-how-do-i-stop-people-looking-at--sourcecode/#92450</guid>
      <pubDate>Fri, 21 Dec 2001 06:28:15 -0700</pubDate>
      <category>HTML &amp; WEB-Design</category>
    </item>
    <item>
      <title>Re: how do I stop people looking at  sourcecode?</title>
      <link>http://www.programmersheaven.com/mb/html/92363/92919/re-how-do-i-stop-people-looking-at--sourcecode/#92919</link>
      <description>&amp;lt;input style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; COLOR: rgb(255,255,666); FONT-FAMILY: Arial; BACKGROUND-COLOR: rgb(0,64,130)" type=button value=" PRESS ME " name="button" onClick=MM_openBrWindow('webaddress or page,'Welcome','status=yes,menubar=yes,scrollbars=
yes,resizable=yes,width=437,height=300')&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Try that! I have allso give you a new look button :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
your dev&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/html/92363/92919/re-how-do-i-stop-people-looking-at--sourcecode/#92919</guid>
      <pubDate>Mon, 24 Dec 2001 15:39:25 -0700</pubDate>
      <category>HTML &amp; WEB-Design</category>
    </item>
    <item>
      <title>Re: how do i stop people looking at view source</title>
      <link>http://www.programmersheaven.com/mb/html/92363/95524/re-how-do-i-stop-people-looking-at-view-source/#95524</link>
      <description>: : how do i stop people looking at view source.&lt;br /&gt;
: : can someone pleas tell me&lt;br /&gt;
: : &lt;br /&gt;
: &lt;br /&gt;
: You could disable right-click and open the page in a popup without menu buttons ... offcourse, people can always look at the source of the page that called the popup, open it in a sepperate explorer and use the menu to look at the source, so there is no perfectly safe way to prevent it&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
There is NO WAY to disable right click, for javascript at least. I have gotten around it. I see these people using the 'oops cant do that here' scripts, i just hit ok and right click right as it goes away and the browser doesnt have enough time to retrigger the right click prevent so it pops up the menu. who cares if they look at your source, when u post on the internet its basically open source in a sense, weither you want them to take it or not, they will. There is a way using php probably, you call in other pages that have the actual text, so when they view source it looks like&lt;br /&gt;
&amp;lt;include 'http://www.website.com/cgi-bin/content_of_site.php&amp;gt;&lt;br /&gt;
or so.&lt;br /&gt;
just an idea. its  what big corperations do to theirs when they are greedy about their site. look at hotmail.com.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/html/92363/95524/re-how-do-i-stop-people-looking-at-view-source/#95524</guid>
      <pubDate>Fri, 11 Jan 2002 12:35:37 -0700</pubDate>
      <category>HTML &amp; WEB-Design</category>
    </item>
    <item>
      <title>Re: how do i stop people looking at view source</title>
      <link>http://www.programmersheaven.com/mb/html/92363/95530/re-how-do-i-stop-people-looking-at-view-source/#95530</link>
      <description>Of course you can disable rightclick!!!!!!&lt;br /&gt;
I knew a better way of doing this but I've forgotten it,&lt;br /&gt;
but here is a stupid example that also can disable (any click) on the body:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
&amp;lt;!DOCTYPE = html
PUBLIC "-//W3C//DTD XHTML1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml/1-Strict.dtd"&amp;gt;

&amp;lt;html&amp;gt;
&amp;lt;!-- ------------- head --&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;disable rightclick&amp;lt;/title&amp;gt;
&amp;lt;script&amp;gt;
function clic()
{!write HERE what you want the script to do eg. reload the page
!note that leftclick is also an "mousedown" event!!}

function button()
{
window.open(location="http://www.yahoo.com")
}
&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;!-- ------------- body --&amp;gt;
&amp;lt;body onmousedown="clic()" &amp;gt;
&amp;lt;button onmousedown="button()"&amp;gt;click me!&amp;lt;/button&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt; 
&lt;/pre&gt;&lt;br /&gt;
Firestorm&lt;br /&gt;
blue_surfer2000@yahoo.de&lt;br /&gt;
&lt;img src="http://www.programmersheaven.com/images/Community/twink.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/html/92363/95530/re-how-do-i-stop-people-looking-at-view-source/#95530</guid>
      <pubDate>Fri, 11 Jan 2002 14:00:05 -0700</pubDate>
      <category>HTML &amp; WEB-Design</category>
    </item>
    <item>
      <title>Re: how do I stop people looking at  sourcecode?</title>
      <link>http://www.programmersheaven.com/mb/html/92363/95574/re-how-do-i-stop-people-looking-at--sourcecode/#95574</link>
      <description>: &amp;lt;input style="FONT-WEIGHT: bold; FONT-SIZE: 8pt; COLOR: rgb(255,255,666); FONT-FAMILY: Arial; BACKGROUND-COLOR: rgb(0,64,130)" type=button value=" PRESS ME " name="button" onClick=MM_openBrWindow('webaddress or page,'Welcome','status=yes,menubar=yes,scrollbars=
yes,resizable=yes,width=437,height=300')&amp;gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: Try that! I have allso give you a new look button :)&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: your dev&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
this is all nice and stuff, but it still doesn't prevent people from viewing the code if they want to&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/html/92363/95574/re-how-do-i-stop-people-looking-at--sourcecode/#95574</guid>
      <pubDate>Sat, 12 Jan 2002 02:09:01 -0700</pubDate>
      <category>HTML &amp; WEB-Design</category>
    </item>
    <item>
      <title>Re: how do i stop people looking at view source</title>
      <link>http://www.programmersheaven.com/mb/html/92363/99645/re-how-do-i-stop-people-looking-at-view-source/#99645</link>
      <description>what do you want to hide so much??&lt;br /&gt;
&lt;br /&gt;
use ASP or PHP and execute your scripts on the server side so that they're turned into HTML before the user ever gets a chance to see them.&lt;br /&gt;
=====&lt;br /&gt;
paulfp&lt;br /&gt;
www.paulfp.co.uk/delirious&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/html/92363/99645/re-how-do-i-stop-people-looking-at-view-source/#99645</guid>
      <pubDate>Sat, 02 Feb 2002 12:27:05 -0700</pubDate>
      <category>HTML &amp; WEB-Design</category>
    </item>
  </channel>
</rss>