[Guide]How to make the right click mouse button to not work on your MuSite!

This is a discussion on [Guide]How to make the right click mouse button to not work on your MuSite! within the Mu Archives board part of the Mu Online forum category; I created this guide because manny of you don't that the ppl from your site to copy some images or ...

Results 1 to 3 of 3
  1. #1
    cblt's Avatar
    cblt is offline Hacker
    Array
    Join Date
    Nov 2007
    Location
    In The Hell:)
    Posts
    226
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    13
    Reputation
    144

    [Guide]How to make the right click mouse button to not work on your MuSite!

    I created this guide because manny of you don't that the ppl from your site to copy some images or i don't know anything.

    For MU site put this script in index.php (at the end!!!):

    Code:
    <SCRIPT type="text/javascript"><!-- 
    document.write(unescape("%3C%53%43%52%49%50%54%20% 74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63 %72%69%70%74%22%3E%3C%21%2D%2D%0D%0A%61%6D%3D%22%5 
    4%68%69%73%20%70%61%67%65%20%68%61%73%20%62%65%65% 6E%20%70%72%6F%74%65%63%74%65%64%2E%20%50%72%65%76 %69%65%77%20%6F%6E%6C%79%2E%22%3B%62%56%3D%70%61%7 2%73%65%49%6E%74%28%6E%61%76%69%67%61%74%6F%72%2E% 61%70%70%56%65%72%73%69%6F%6E%29%3B%62%4E%53%3D%6E %61%76%69%67%61%74%6F%72%2E%61%70%70%4E%61%6D%65%3 D%3D%22%4E%65%74%73%63%61%70%65%22%3B%62%49%45%3D% 6E%61%76%69%67%61%74%6F%72%2E%61%70%70%4E%61%6D%65 %3D%3D%22%4D%69%63%72%6F%73%6F%66%74%20%49%6E%74%6 5%72%6E%65%74%20%45%78%70%6C%6F%72%65%72%22%3B%66% 75%6E%63%74%69%6F%6E%20%6E%72%63%28%65%29%7B%69%66 %28%62%4E%53%20%26%26%20%65%2E%77%68%69%63%68%3E%3 1%29%7B%61%6C%65%72%74%28%61%6D%29%3B%72%65%74%75% 72%6E%20%66%61%6C%73%65%7D%65%6C%73%65%20%69%66%28 %62%49%45%20%26%26%20%28%65%76%65%6E%74%2E%62%75%7 4%74%6F%6E%3E%31%29%29%7B%61%6C%65%72%74%28%61%6D% 29%3B%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%7D%64 %6F%63%75%6D%65%6E%74%2E%6F%6E%6D%6F%75%73%65%64%6 F%77%6E%3D%6E%72%63%3B%69%66%28%64%6F%63%75%6D%65% 6E%74%2E%6C%61%79%65%72%73%29%20%77%69%6E%64%6F%77 %2E%63%61%70%74%75%72%65%45%76%65%6E%74%73%28%45%7 6%65%6E%74%2E%4D%4F%55%53%45%44%4F%57%4E%29%3B%69% 66%28%62%4E%53%20%26%26%20%62%56%3C%35%29%20%77%69 %6E%64%6F%77%2E%6F%6E%6D%6F%75%73%65%64%6F%77%6E%3 D%6E%72%63%3B%66%75%6E%63%74%69%6F%6E%20%6F%6E%65% 28%29%7B%72%65%74%75%72%6E%20%74%72%75%65%7D%6F%6E %65%72%72%6F%72%3D%6F%6E%65%3B%2F%2F%2D%2D%3E%3C%2 F%53%43%52%49%50%54%3E"));//--></SCRIPT><meta http-equiv="content-type" content="text/html; charset=utf-8">
    or

    Code:
    <script type="text/JavaScript"> 
    <!-- 
     
     
    function MM_preloadImages() { //v3.0 
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); 
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a> 
    </script>
    Enjoy

  2. #2
    DarkSteeLJaime is offline Newbie
    Array
    Join Date
    Oct 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    I think you mean, you need cant right click the page? here's the script

    <!--
    var message="Credits by: Jong, Viktor, and Rayko.";
    function clickIE() {if (document.all) {alert(message);return false;}}
    function clickNS(e) {
    if (e.target.type == "text") { return true; }
    if (e.target.type == "textarea") { return true; }
    if (e.target.type == "submit") { return true; }
    if (e.target.type == "checkbox") { return true; }
    if (e.target.type == "radio") { return true; }
    if(document.layers||(document.getElementById&&!doc ument.all)){
    if (e.which==2||e.which==3) {alert(message);return false;}}}
    if (document.layers)
    {document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
    else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}
    document.oncontextmenu=new Function("return false")

    function noclic(clic) {
    var msg="Credits by: Jong, Viktor, and Rayko.";
    if (navigator.appName == 'Netscape' && clic.which==3) {
    alert(msg);
    return false;}
    else
    if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
    alert(msg);
    return false;
    }
    return true;
    }
    if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
    }
    document.onmousedown = noclic;
    // -->
    </SCRIPT>

    <SCRIPT language="JavaScript">
    function disableselect(e){
    if (e.target.type == "text") { return true; }
    if (e.target.type == "textarea") { return true; }
    if (e.target.type == "submit") { return true; }
    if (e.target.type == "checkbox") { return true; }
    if (e.target.type == "radio") { return true; }
    if (e.target.type == "password") { return true; }
    return false;
    }

    function reEnable(){
    return true
    }

    //if IE4+
    document.onselectstart=new Function ("return false")

    //if NS6
    if (window.sidebar){
    document.onmousedown=disableselect
    document.onclick=reEnable
    }
    </script>

  3. #3
    lihtster1 is offline Wannabe Member
    Array
    Join Date
    Jan 2010
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    this is really helpful.

Similar Threads

  1. Money guide fully working
    By dabaddest361 in forum Runescape
    Replies: 6
    Last Post: 01-02-2010, 05:55 AM
  2. Make your own WoW server !
    By Ginzo in forum WoW Private Servers
    Replies: 33
    Last Post: 08-16-2009, 05:45 PM
  3. Replies: 14
    Last Post: 03-30-2009, 11:44 PM
  4. Replies: 19
    Last Post: 10-07-2008, 01:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •