4 ms·
Does this website get its name from the insanity of disallowing copy/paste & context menus jQuery('body').bind('cut copy paste', function (e) { e.preventDe
by koch 4y ago
Does this website get its name from the insanity of disallowing copy/paste & context menus
jQuery('body').bind('cut copy paste', function (e) {
e.preventDefault();
});
jQuery("body").on("contextmenu",function(e){
return false;
});
- WithinReason 4y agoIs it possible to block this behavior at the browser level? Other than an addon: https://addons.mozilla.org/en-US/firefox/addon/re-enable-right-click/ https://addons.mozilla.org/en-US/firefox/addon/re-enable-rig...
- svl 4y agoIn Firefox you can set dom.event.contextmenu.enabled and dom.event.clipboardevents.enabled to false in about:config which will natively prevent most of this type of annoyance.
- n8henrie 4y agoDoes this also disable the handy "click to copy to clipboard" buttons that a lot of sites feature?
- scarletphoenix 4y agoI set both of these to false, and I was able to copy a command from a README file on GitHub still (after reopening tab)
- ductsurprise 4y agoIn Chrome(and the likes): - open developer tools (CTRL-SHIFT-I, or F12) - make sure you are on Elements tab - click on '<body class=...' tag line - then in the right hand panel switch to Event Listeners tab - remove anything you like(contextmenu, cut, copy, paste in this case) I'm sure there is a similar way in Firefox...
- Szpadel 4y agoI think chrome have shift right click, or double right click to open browser context menu anyways. I currently do not have access to PC to double check
- andirk 4y agoWow that is really pathetic. There are easy ways around it but the implication is quite ironic: talking about chat bots taking all the credit for everything and then not letting anyone quote them.
- butz 4y agoThat'll surely stop those fancy GPTs from collecting our content.