Search in forum:
Search


« View previous topic :: View next topic »  
Author Message
Post09/05/2008 at 3:00pm (UTC)    
Post subject: right click block

in some sites the right click block is not working.so use this code and place it in text at top of the page.or if you want to block only certain pages then place in the source code of page
Code:
<!-- Right click block code from www.tharunzworld.co.cc starts here  -->
<script language=JavaScript>
<!--
var message="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->
</script>
<!-- Right click block code from www.tharunzworld.co.cc ends here  -->
Post09/07/2008 at 9:28pm (UTC)    
Post subject:

Sorry Dear to tell u that's not a professional code that
i can use the right click even if u include this code in ur page.

if u face such a page just use SAVE AS button and u'll got all the page
so u can disable the code
thanks




Websites Programmer
Post10/12/2008 at 9:11am (UTC)    
Post subject:

do u have any code for disable the page source view too on the top button of the browser?
______________
Post11/05/2008 at 1:10pm (UTC)    
Post subject:

does anyone know how to make page sourse become blank when someone try to view our page source?
______________
Post12/16/2008 at 5:53am (UTC)    
Post subject:

zisdixie wrote:
does anyone know how to make page sourse become blank when someone try to view our page source?


try to find a software that can break all the browser for viewing the source of the codes but i think its impossible because as i have no software have like this...

example if software have virus it is also have an anti virus so meaning if the software have a thread that can block the source it is also have a thread that can view the source...is that make sense mah friend Very Happy
______________
<img src="http://lovescents.webs.com/left.gif" border="0"> <a href="http://lovescents.webs.com/apps/profile/profilePage?id=40574415/" target="_blank" class="postlink"><img src="http://lovescents.webs.com/1.gif" border="0"><span style="font-weight: bold;">Lovescents</span> </a><img src="http://lovescents.webs.com/left.gif" border="0"> <a href="http://www.homepage-help.page.tl/" target="_blank" class="postlink"><span style="font-weight: bold;">SUPPORT PAGE</span></a> <img src="http://lovescents.webs.com/left.gif" border="0"> <a href="http://www.own-free-website.com/forum/search.php" target="_blank" class="postlink"><span style="font-weight: bold;">SEARCH IN FORUM</span></a> <img src="http://lovescents.webs.com/left.gif" border="0"> <a href="http://www.own-free-website.com/forum/viewtopic.php?t=5512" target="_blank" class="postlink"><span style="font-weight: bold;">PLEASE READ BEFORE POSTING A NEW TOPIC!!</span></a></span>
Display posts from previous:   


Powered by phpBB © 2001, 2005 phpBB Group