Comment by eviks

5 hours ago

What do you think about search override on some dysfunctional modern forums that can't display more than 3 replies, so if you used the built in browser search you wouldn't be able to find anything in a discussion?

But also, Vivaldi is awesome here is allowing you to block overrides for specific shortcuts so you Ctrl F is always yours

> dysfunctional modern forums that can't display more than 3 replies,

I assume that's overzealous virtualization/infinite scroll pagination? I don't have a solution, I think fundamentally we're building a workaround for a workaround and the root cause for the performance issues should be fixed. Somehow, HN is able to show a lot of comments per page and page loads are always O(100ms). I'm wondering what kind of sorcery they're using to achieve this.

But if you have to deal with this in your codebase, my instinct is still not to hijack the native Cmd+F, even if it only searches what's inside your viewport. You can expose some other command for full custom search (Cmd+K seems to be the standard, I think VSCode made that popular).