News for hackers. Stuff that matters.
Re:Ask HN: How to disable right-click blocking in the browser by nomilk on Saturday July 30, 2022 @08:00AM (#32286122)
Related: I'd LOVE to know how to force standard ctrl + f behaviour on sites that override it.

Same for sites that override ctrl + left click (to open link in new tab - some sites will treat it like you simply clicked the link and open it in the same tab - super annoying).

Re:Ask HN: How to disable right-click blocking in the browser by jeroenhd on Saturday July 30, 2022 @09:16AM (#32286546)
In Firefox there is a permission for "keyboard shortcuts" or something similar. I've set the default value to disabled.

To do so:

- Open about:config

- Find or create permissions.default.shortcuts

- Set the value to 2 (BLOCKED) or 3 (PROMPT, not sure if that even works)

The changes should take effect immediately. If they don't, try restarting your browser.

You can then go into the page information dialogue (ctrl+I) and turn it back on for individual sites that need shortcuts to work well (like Google docs, maybe Discord).

Note that this might also affect shortcuts that do not conflict with your browser's shortcuts.

Re:Ask HN: How to disable right-click blocking in the browser by artemisart on Saturday July 30, 2022 @08:12AM (#32286185)
I use F3 for this, I don't know if it's possible but I've never seen a website hijack F3.
Re:Ask HN: How to disable right-click blocking in the browser by breunigs on Saturday July 30, 2022 @08:05AM (#32286153)
As a workaround CTRL+L CTRL+F usually opens the regular find bar.
Re:Ask HN: How to disable right-click blocking in the browser by woqe on Saturday July 30, 2022 @09:09AM (#32286498)
Many browsers support ctrl + g to open the "find" input.