3 ms·
Is it my browser or is this website disabling right clicks? Javascript needs to die...
by cm2187 11y ago
Is it my browser or is this website disabling right clicks? Javascript needs to die...
- zackp30 11y agoNot just you, it's doing it for me also. Probably caused by: (function($) { $(document).bind('contextmenu dragstart', function(event) { var target = event.target || event.srcElement; target = $(target); if (target.data('ngg-protect') || target.parent('a').data('ngg-protect') || target.attr('id') == 'fancybox-img' || target.attr('id') == 'TB_Image' || target.attr('id') == 'shTopImg' || target.attr('id') == 'lightbox-image' || target.hasClass('highslide-image') || target.parents('.ngg-albumoverview').length == 1 || target.parents('.ngg-pro-album').length == 1 || photocrati_image_protection_global.enabled == '1') { event.preventDefault() } }) }(jQuery)); It's extremely annoying when sites do this...
- gear54rus 11y agoIt's JS hate that needs to die. Maybe there's a name for a condition where people are so stuck up in their ways they can't accept objectively positive change (of The web platform). As for this bs code, the people who wrote this will find other ways to discredit themselves, it's not a job of a platform's maker to babysit everyone and prevent their stupid decisions. Be thankful that you can actually override this due to platform's (and JS's) openness, it could've been far worse, in many other cases you'd need disassembly to fix something like that.