Re:A new spam policy for "back button hijacking"
by declan_roberts on Tuesday April 14, 2026 @12:15PM
(#47767580)
Ctrl+f is a bad offender. No I don't want to use your contextual search. I want to search for this word on this page!
[ Parent
| on HN ]
Re:A new spam policy for "back button hijacking"
by kube-system on Tuesday April 14, 2026 @12:59PM
(#47768203)
Half of the time those sites also lazy load anyway so whatever you're looking for isn't even in the DOM yet
Re:A new spam policy for "back button hijacking"
by hansvm on Tuesday April 14, 2026 @01:33PM
(#47768619)
And lazy unload, so you can't find it even if you've already scrolled through the whole thing.
Re:A new spam policy for "back button hijacking"
by underdeserver on Tuesday April 14, 2026 @02:54PM
(#47769763)
I used to hear it called "virtual scroll", and I remember webpages ballooning in RAM when they didn't do it.
Re:A new spam policy for "back button hijacking"
by RugnirViking on Wednesday April 15, 2026 @08:30AM
(#47778118)
the text content of the site is not what is ballooning the RAM.
Re:A new spam policy for "back button hijacking"
by raydev on Tuesday April 14, 2026 @02:51PM
(#47769728)
If the page is lazy loading content then the local ctrl+f is not going to work, obviously.
If you’re hinting at an argument about whether lazy loading content should exist, that’s a separate discussion. In my experience, pages that override ctrl+f do it for a good reason
Re:A new spam policy for "back button hijacking"
by xur17 on Tuesday April 14, 2026 @03:20PM
(#47770141)
Even in those cases I'd prefer to just be able to natively search the content that has been lazy loaded. I've run into more than one website where the search functionality they bound to control-f is horrible.
Re:A new spam policy for "back button hijacking"
by MrDOS on Tuesday April 14, 2026 @07:44PM
(#47772920)
On Firefox, the “Prevent Shortcut Takeover” can be used to prevent websites from binding to Ctrl+F/Cmd+F: https://addons.mozilla.org/en-US/firefox/addon/prevent-short....
Re:A new spam policy for "back button hijacking"
by johnfn on Tuesday April 14, 2026 @06:25PM
(#47772265)
I think I've seen one page override ctrl-f for good reason -- it was a page that lazy loaded literally millions of lines of text that wouldn't have fit into RAM.
Every single other page that does it just wastes my time. It's always a super janky slow implementation that somehow additionally fails to actually search through all the text on the page.
Re:A new spam policy for "back button hijacking"
by mghackerlady on Wednesday April 15, 2026 @02:18PM
(#47783041)
then instead of lazy loading load chunks and paginate it like we used to
Re:A new spam policy for "back button hijacking"
by darajava on Tuesday April 14, 2026 @03:01PM
(#47769863)
Just use Ctrl+G - it does almost the exact same thing as Ctrl+F
Re:A new spam policy for "back button hijacking"
by stronglikedan on Tuesday April 14, 2026 @03:46PM
(#47770529)
it's asking me for a line number
Re:A new spam policy for "back button hijacking"
by magiclaw on Tuesday April 14, 2026 @05:12PM
(#47771599)
Yeah, super annoying when that happens. A workaround is to click the address bar (or press ctrl+l unless that's been hijacked too) and then do ctrl+f.
Re:A new spam policy for "back button hijacking"
by Cider9986 on Tuesday April 14, 2026 @10:42PM
(#47774058)
Ctrl-f for page search and ctrl-k for website search[1].
[1] https://fmhy.net