How to disable right click on a website?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Si
    Such Fun!
    • Feb 2008
    • 13900

    #1

    How to disable right click on a website?

    I've been trying to figure out how to disable right click on one of my websites.

    Tried google, all the code I found and tried didn't work.

    Also tried a wordpress plugin, think it was called "no copy" and that didn't work either.

    Anyone got the correct code, or a decent wordpress plugin that actually works for doing this?

    Thanks in advance
  • u-Bob
    there's no $$$ in porn
    • Jul 2005
    • 33063

    #2
    doesn't work....

    Comment

    • grumpy
      Too lazy to set a custom title
      • Jan 2002
      • 9870

      #3
      does it work here?
      http://www.onlypee.com/index_onlypee.php

      then copy the java
      Don't let greediness blur your vision | You gotta let some shit slide
      icq - 441-456-888

      Comment

      • Barefootsies
        Choice is an Illusion
        • Feb 2005
        • 42635

        #4
        Originally posted by u-Bob
        doesn't work....
        They will just get around it if they know how to disable java in browser.

        However, not everyone know this.
        Should You Email Your Members?

        Link1 | Link2 | Link3

        Enough Said.

        "Would you rather live like a king for a year or like a prince forever?"

        Comment

        • seeandsee
          Check SIG!
          • Mar 2006
          • 50945

          #5
          just rencode your source code with simple shit
          BUY MY SIG - 50$/Year

          Contact here

          Comment

          • fris
            I have to go potty
            • Aug 2002
            • 55737

            #6
            do you not want them copying text? or viewing source code?
            Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

            My Latest Theme

            Comment

            • quantum-x
              Confirmed User
              • Feb 2002
              • 6863

              #7
              Don't bother. Seriously..
              PrettyInCash.com - BoozedGFs.com - TeenGFs.com - JizzGFs.com- MilfUploads.com -

              Comment

              • stephane76
                Frenchie
                • Aug 2004
                • 3892

                #8
                Code:
                <script language=JavaScript> 
                <!--
                 
                //Disable right mouse click Script
                //By Maximus ([email protected]) w/ mods by DynamicDrive
                //For full source code, visit http://www.dynamicdrive.com
                 
                var message="ENTER YOUR MESSAGE HERE";
                 
                ///////////////////////////////////
                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>
                FROM http://www.dynamicdrive.com/dynamicindex11/noright.htm

                Cheers

                Comment

                • TeenCat
                  Too lazy to set a koala
                  • Jan 2007
                  • 16131

                  #9
                  big sign in header "DO NOT USE RIGHT MOUSE BUTTON" may be enough

                  6bot
                  / Coming again very soon!
                  Svit Zlin Radio 24/7!

                  Comment

                  • Serial Pervert
                    Confirmed User
                    • Mar 2008
                    • 2666

                    #10
                    Originally posted by TeenCat
                    big sign in header "DO NOT USE RIGHT MOUSE BUTTON" may be enough
                    i don't think so, but...

                    Comment

                    • Si
                      Such Fun!
                      • Feb 2008
                      • 13900

                      #11
                      Originally posted by fris
                      do you not want them copying text? or viewing source code?
                      That would be nice, couldn't find anything that worked though

                      Comment

                      • TeenCat
                        Too lazy to set a koala
                        • Jan 2007
                        • 16131

                        #12
                        have you tried put there new blank layer? as its popular in galleries, when you click on thumb, only blank screen popups and pic is there, no reload. play with it, it may work ...

                        6bot
                        / Coming again very soon!
                        Svit Zlin Radio 24/7!

                        Comment

                        • u-Bob
                          there's no $$$ in porn
                          • Jul 2005
                          • 33063

                          #13
                          Originally posted by quantum-x
                          Don't bother. Seriously..
                          q f t

                          trying to disable right click, will only accomplish one thing: pissed of users.

                          Comment

                          • JOKER
                            Facit Omnia Voluntas
                            • Apr 2003
                            • 2105

                            #14
                            add this into your < body > tag:

                            onselectstart="return false" oncontextmenu="return false" ondragstart="return false"
                            Facilitation - BizDev - Traffic - Consulting - Marketing
                            Skype: jokerempire | Silent Circle: joker

                            Comment

                            • Oracle Porn
                              Affiliate
                              • Oct 2002
                              • 24433

                              #15
                              1997 called....


                              Comment

                              • SmokeyTheBear
                                ►SouthOfHeaven
                                • Jun 2004
                                • 28609

                                #16
                                trying to disable right click altogether or disable copy/paste ?
                                hatisblack at yahoo.com

                                Comment

                                • dmhubby
                                  Owner BlowBangGirls.com
                                  • Jan 2003
                                  • 185

                                  #17
                                  I think it's a waste of your time. Guys that want to save will save, the disable right click will not really stop anyone and just add a bunch of unnecessary Java script in your site.
                                  Rob
                                  Add Me On Twitter!
                                  BlowBang Girls
                                  Bathroom Creepers
                                  Our Network
                                  Our Cash Program

                                  Comment

                                  • grumpy
                                    Too lazy to set a custom title
                                    • Jan 2002
                                    • 9870

                                    #18
                                    Originally posted by dmhubby
                                    I think it's a waste of your time. Guys that want to save will save, the disable right click will not really stop anyone and just add a bunch of unnecessary Java script in your site.
                                    if it only stops 10% it still stops 10%, but numbers are better
                                    Don't let greediness blur your vision | You gotta let some shit slide
                                    icq - 441-456-888

                                    Comment

                                    • fris
                                      I have to go potty
                                      • Aug 2002
                                      • 55737

                                      #19
                                      Originally posted by Si
                                      That would be nice, couldn't find anything that worked though
                                      it was a question ;)

                                      which is it you want to do
                                      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                                      My Latest Theme

                                      Comment

                                      • Vendzilla
                                        Biker Gnome
                                        • Mar 2004
                                        • 23200

                                        #20
                                        If you disable right click, then you have to disable veiw source, good luck
                                        But I get a lot of stuff at dynamicdrive.com
                                        Carbon is not the problem, it makes up 0.041% of our atmosphere , 95% of that is from Volcanos and decomposing plants and stuff. So people in the US are responsible for 13% of the carbon in the atmosphere which 95% is not from Humans, like cars and trucks and stuff and they want to spend trillions to fix it while Solar Panel plants are powered by coal plants
                                        think about that

                                        Comment

                                        • fris
                                          I have to go potty
                                          • Aug 2002
                                          • 55737

                                          #21
                                          http://wordpress.org/extend/plugins/jr-protection/

                                          This protection plugin gives you several ways to stop other users stealing your content!

                                          There are three different ways of stopping users stealing it:

                                          1.Disabling right-click
                                          2.Disabling text selection
                                          3.Disabling your RSS feed (So users cannot scrape your content).
                                          This plugin has support for all of them, simply by editting the options
                                          hope this helps
                                          Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                                          My Latest Theme

                                          Comment

                                          • Si
                                            Such Fun!
                                            • Feb 2008
                                            • 13900

                                            #22
                                            Originally posted by fris
                                            Nice one! thanks man

                                            Comment

                                            Working...