Flash - No Right Click

I found a way to disable Flash right clicks. I got it to work for Internet Explorer, Mozilla, and Opera. I don’t have a Mac, so anyone with Safari, please test it out.

However, this actually disables it, meaning you can no longer retrieve information from users, including all mouse/keyboard input.

I did manage to get Internet Explorer to acccept input. But then who cares about that. For Mozilla and Opera, the flash movie is just hidden, but visible.

Try it out.

It’s basically a div layered on top of the flash movie so that it takes the right clicks, and not the flash movie. I used Javscript to disable right clicks for Mozilla and Internet Explorer so that when you click on it, it doesn’t do anything. For IE users, right click the flash movie. See what happens =)

View the source!

I’ll try to get the input to work for Mozilla and Opera.. some how..

post a comment17 Comments

  1. 1April 25th, 2005subtitles says

    Post Roundup for Opera Blogs - The Cunning Plan Behind Acid 2
    This ingeneous fellow has found a way to allow you to use right click left click to move back - even when you’re hovering over a bit of Flash - I think it leads to unwanted side effects like you…

  2. 2June 22nd, 2005Peter says

    Thanks for your help. Really appreciate.

  3. 3June 22nd, 2005yang says

    hey how do you do that right click thingy….can i have the url please…i need it..really…i really do…

  4. 4June 23rd, 2005Oliver Zheng says

    It’s right there in the post.

    Try it out

  5. 5July 2nd, 2005passing by says

    I have to say you are full of it, you have not disabled the flash right click menu. All you have done is a java sript from dynamic drive and put it for the whole flash.html page. Thats not called disabling flash right click menu. Open http://mtsix.com/wp-content/uploads/flash.swf and the right click menu works. And by the way disabling active java script in ur page flash.html , right click becomes active.

  6. 6July 2nd, 2005Oliver Zheng says

    It is illegal to hack the published swf file and get rid of the right click menu. And as for disabling javascript, the right click of the Flash menu still does not appear. After all, you cannot hide the browser right click menu if you disable Javascript.

  7. 7August 31st, 2005James says

    The question I have is… why?

  8. 8August 31st, 2005Oliver Zheng says

    Hm.. That’s a really good question James. I actually don’t know. It might come in handy one day I guess.

  9. 9February 11th, 2007Jamal says

    HAHAHA>> COOLL DUDEEEEEEE.. I find it for a yearss.. but I dont know how to disable it.. I dont ever think how to disable the mouse button… hahaha.. thanks dudeee….

    Now I found this function.. thanksssss a LOT…

    for 5 years I trying to disable it.. now I can… we can.. hahahahaaaaaaaaaa!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  10. 10February 11th, 2007Jamal says

    ONE MORE THING.. can left mouse button changes to FLASH button function..??? tell me…

  11. 11February 27th, 2008Francois says

    this is so cool!

  12. 12February 29th, 2008Donno says

    Does Not Work For Me Using IE7 ?

  13. 13June 3rd, 2008Brett Golson says

    Nice fix!

  14. 14June 14th, 2008xsharkx says

    But All Item In Flash Can not MouseOver

  15. 15June 14th, 2008xsharkx says

    good but not profect

  16. 16June 25th, 2008Manchois says

    Works well with Firefox, but not with IE7….

    In IE7, the right click is effectively disabled for everything… except the over the flash.

    Any idea?

  17. 17June 25th, 2008JULIAN says

    ummm….
    im trying to disable the right clicks like what you’ve done
    but i don’t get what your saying.

    could you explane it to me?
    or do a step by step thing?

    THANKS JULIAN.

Post a Comment

Name and email are required (website is optional). Basic HTML is enabled.

Your email address is not revealed to anyone.