Re:Ask HN: How to disable right-click blocking in the browser
by susam on Saturday July 30, 2022 @06:38AM
(#32285699)
I use Firefox and on Firefox this can be done by typing "about:config" (without the quotes) in the address bar, then searching for "dom.event.contextmenu.enabled" (without the quotes) and then double-clicking on the result to toggle its value from "true" to "false".
[ Parent
| on HN ]
Re:Ask HN: How to disable right-click blocking in the browser
by gazby on Saturday July 30, 2022 @01:13PM
(#32288437)
The downside here is that there are still plenty of legitimate uses for capturing right-click, and this fix will impede operation of those.
I'd go with a bookmarklet style approach suggested by other top-level comments.
Re:Ask HN: How to disable right-click blocking in the browser
by joshka on Saturday July 30, 2022 @08:16PM
(#32291727)
What are these valid use cases?
Re:Ask HN: How to disable right-click blocking in the browser
by Toadtoad on Saturday July 30, 2022 @08:44PM
(#32291916)
Sites like PhotoPea and Google Docs capture right-click to offer right-click menus more in line with what you'd expect from a desktop application. You could argue that other UX schemes can work without that, but since that's what a lot of people are used to, I'd say they count as valid use cases.
Re:Ask HN: How to disable right-click blocking in the browser
by dorkwood on Saturday July 30, 2022 @11:42PM
(#32292952)
One example would be a browser game where left click places a block and right click removes a block. You wouldn't want the default context menu appearing every time you right-clicked.