<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dotnet thoughts &#187; Disable Context Menu</title>
	<atom:link href="http://www.dotnetthoughts.net/tag/disable-context-menu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotnetthoughts.net</link>
	<description>a dotnet developer&#039;s technical blog</description>
	<lastBuildDate>Wed, 08 Feb 2012 03:18:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Disable right click with Javascript</title>
		<link>http://www.dotnetthoughts.net/2007/04/18/disable-right-click-with-javascript/</link>
		<comments>http://www.dotnetthoughts.net/2007/04/18/disable-right-click-with-javascript/#comments</comments>
		<pubDate>Wed, 18 Apr 2007 13:37:19 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Context Menu]]></category>
		<category><![CDATA[Disable Context Menu]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://anuraj.wordpress.com/2007/04/18/disable-right-click-with-javascript/</guid>
		<description><![CDATA[Here is two javascript code, helps you to disable right click, on webpages with Javascript. Or you can simply use. This second code works only in Microsoft Internet Explorer. No related content found.]]></description>
			<content:encoded><![CDATA[<p>Here is two javascript code, helps you to disable right click, on webpages with Javascript.</p>
<pre class="brush: jscript; title: ; notranslate">
function NoRightClick() {
if (event.button == 2)
{
alert(&quot;This action is not possible&quot;)
}
}
document.onmousedown=NoRightClick;
</pre>
<p>Or you can simply use.</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;body oncontextmenu=&quot;return(false);&quot;&gt;
</pre>
<p>This second code works only in Microsoft Internet Explorer.</p>
<div class="betterrelated none"><p>No related content found.</p></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2007/04/18/disable-right-click-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

