4 ms·
>don't capture Ctrl+F preventing me from using the browser search. Browser search only searches visible text in the DOM. For performance reasons the whole page
by charcircuit 3y ago
>don't capture Ctrl+F preventing me from using the browser search.
Browser search only searches visible text in the DOM. For performance reasons the whole page might not be loaded into the DOM. This means the default browser search will provide incomplete results.
- 38 3y agoif you cannot load the whole page for any reason, that's a failure of design. use pagination, that has existed since the 90s.
- SuperCuber 3y agodefault ctrl-f will only search through the current page while the site-provided one can search through all content... this is not really an argument against it existing
- 38 3y agoso can a POST form request. why people feel the need to reinvent stuff that's existed for decades is beyond me
- croes 3y agoHow does the user know which search to use? Ctrl-F vs search box with POST. Forcing a request what could be done locally is bad design.
- charonn0 3y agoBy longstanding convention. Ctrl-F is the conventional in-page search combo, while a dedicated search field is the conventional website search engine.
- folmar 3y agoYou can even use the OpenSearch description and move the search field to the browsers'.
- croes 3y agoBut it's about inpage search, it's just a lazy loading page. The dedicated search field is for searching my websites and the result would be a list of my pages that contain the search term. Ctrl-F jumps to the location of the search term on the page I'm already at.
- adhesive_wombat 3y agoReminds me of that sort story (Asimov? Seems like him) where someone hits on the genius idea of printing thing out of the computer to read later and, after a few false starts including gigantic billboards which you have to read using sliding ladders, hits on the astounding trick of gluing thin sheets of text into portable stacks joined by one edge.
- 38 3y agoAKA books.
- adhesive_wombat 3y agoWell, strictly speaking it's a Holmes-Ginsbook Device, but if you want to be informal about it...
- charcircuit 3y agoWhy paginate when it doesn't make sense? I don't want a pastebin to be spread over multiple pages. I want the text file to show up on one page, but to not cause any performance issues. I want to be able to search for any line in that text file without having to search each page.
- croes 3y agoHow does pagination solve the search problem? The content you can find wih the browser search still doesn't do d the text on another page. A custom search could including a jump to the page.
- error503 3y agoMaybe, but maybe (usually) that's exactly what I wanted. Browser search has well-defined semantics, many of which are useful in ways that are not exactly 'searching the content'. These are semantically different things and overloading the shortcut is frustrating. Use a different shortcut for your incompatible functionality. For example I might use Ctrl-F to look for a UI element like 'Contact Us' that's hidden at the bottom of the page, or to refer to a stanza I read a minute or two ago without trying to find it with my eyes and the scroll bar. Or even to try to find where what I searched for appears when I have clicked on a search result. This last one is especially frustrating. If I specifically want to search the entire corpus of data on an infinitely-scrolling site, I will use its search function intentionally, since that is a semantically different action.
- solardev 3y agoThis isn't some insolvable problem. Just have a separate search box and use that for cross-pagination/serverside search. Use a separate hotkey for it, like '/', as many sites do, and leave ctrl-F for the browser search.