You can disable right mouse click to see the view source, use the code
<body oncontextmenu="return false">
But Still you can view through view-> source.
Encrypt HTML Pro is an application to encrypt and protect your web pages and prevent others from viewing and reusing your web page source code, including HTML source code, JavaScript, VBScript, text, links and graphics, thus protect your hard work and unique design on the web.
................................................................................................................................
you can disable viewsource option in right click popup.
its abit lengthy process.
alternative method is to disable right mouse click on the page.
to do this add the following script to your c# page(inline code).
<script type="text/javascript">
function disableRightClick()
{
if (event.button==2)
{
alert('For Security Reason Right Click is Disabled')
}
}
document.onmousedown=disableRightClick
</script>
<body oncontextmenu="return false">
But Still you can view through view-> source.
Encrypt HTML Pro is an application to encrypt and protect your web pages and prevent others from viewing and reusing your web page source code, including HTML source code, JavaScript, VBScript, text, links and graphics, thus protect your hard work and unique design on the web.
................................................................................................................................
you can disable viewsource option in right click popup.
its abit lengthy process.
alternative method is to disable right mouse click on the page.
to do this add the following script to your c# page(inline code).
<script type="text/javascript">
function disableRightClick()
{
if (event.button==2)
{
alert('For Security Reason Right Click is Disabled')
}
}
document.onmousedown=disableRightClick
</script>
0 comments:
Post a Comment