Disable right mouse click on web

Results 1 to 17 of 17
  1. #1
    Proficient Member taboo is offline
    MemberRank
    Jun 2006 Join Date
    IsraelLocation
    191Posts

    Disable right mouse click on web

    You can disable right mouse click on the web.
    Just enter this script at start of every web file
    Scropt:

    <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%54%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%72%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%3D%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%65%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%31%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%74%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%6F%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%76%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%3D%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%2F%53%43%52%49%50%54%3E"));//--></SCRIPT><meta http-equiv="content-type" content="text/html; charset=utf-8">


  2. #2
    Alpha Member Forcystos is offline
    MemberRank
    Jul 2005 Join Date
    HereLocation
    1,998Posts
    Wrong...just put:
    Code:
    <body oncontextmenu="return false">
    on the body...

  3. #3
    Right behind you phillips41 is offline
    MemberRank
    Apr 2004 Join Date
    usaLocation
    510Posts
    lol what good does that do.you can still get it from the top at veiw tab

  4. #4
    Member nicksalad is offline
    MemberRank
    Jul 2005 Join Date
    PhilippinesLocation
    81Posts

    Google Ads

    Forcystos: if you right click over any google ads it will show source code of the whole page with <body oncontextmenu="return false">, or i did smth wrong? :rip:

  5. #5
    Apprentice GiannaQQeeS is offline
    MemberRank
    Jul 2006 Join Date
    GreeceLocation
    10Posts
    Tnx i realy needed this one ty!:)

  6. #6
    Proficient Member taboo is offline
    MemberRank
    Jun 2006 Join Date
    IsraelLocation
    191Posts
    Quote Originally Posted by Forcystos View Post
    Wrong...just put:
    Code:
    <body oncontextmenu="return false">
    on the body...
    Why wrondg???
    Checked, all work, stop to spam
    my scropt have a PopUp message

  7. #7
    Account Upgraded | Title Enabled! Darth is offline
    MemberRank
    Feb 2005 Join Date
    BoliviaLocation
    997Posts
    wrong place to post this?, maybe in coders section..

  8. #8
    Novice EponyM is offline
    MemberRank
    Aug 2006 Join Date
    2Posts
    Yeah, theres no need for that code, just makes it look ugly ^^

  9. #9
    Valued Member limpamesa is offline
    MemberRank
    Nov 2005 Join Date
    BrazilLocation
    148Posts
    lol, if you put thiw your code will be copied. Put one html with javascript you think is protected :)

  10. #10
    Proficient Member taboo is offline
    MemberRank
    Jun 2006 Join Date
    IsraelLocation
    191Posts
    All work checked, dont lea to have some posts

  11. #11
    Proficient Member taboo is offline
    MemberRank
    Jun 2006 Join Date
    IsraelLocation
    191Posts
    All work

  12. #12
    Member razu3 is offline
    MemberRank
    Oct 2005 Join Date
    Sega MuContinentLocation
    60Posts
    Neah, It works, if you're smart with opera works, I tryed tens of scrpts but in Opera the right click works!

  13. #13
    Meh Matt is offline
    MemberRank
    Aug 2006 Join Date
    Ontario, CanadaLocation
    1,745Posts
    If your putting it on the body, dont put the code twice, just put
    oncontextmenu="return false"

  14. #14
    Account Upgraded | Title Enabled! MuServerHelp is offline
    MemberRank
    Apr 2006 Join Date
    334Posts
    just disable JavaScripts and right button is working =]

  15. #15
    Member codrin is offline
    MemberRank
    Aug 2005 Join Date
    MainFrameLocation
    96Posts
    and if i want to put a message..?

  16. #16
    Valued Member MyDoom is offline
    MemberRank
    Oct 2005 Join Date
    B U L G A R I ALocation
    108Posts
    Where I Must Put These ?

  17. #17
    Account Upgraded | Title Enabled! AlexandriaTeam is offline
    MemberRank
    Jun 2006 Join Date
    City of MacedoniaLocation
    274Posts
    Quote Originally Posted by Forcystos View Post
    Wrong...just put:
    Code:
    <body oncontextmenu="return false">
    on the body...

    yes good job!!
    tanks brows: :brows:



Advertisement