News for hackers. Stuff that matters.
Re:How MDN's Autocomplete Search Works by thrdbndndn on Tuesday August 03, 2021 @02:34PM (#28052506)
I knew the existence of "/", but never figure out why I should use this instead of Ctrl+F. What's the difference (other than have fewer features)?
Re:How MDN's Autocomplete Search Works by kxrm on Tuesday August 03, 2021 @03:13PM (#28052930)
This seems to be a good introduction to Quick Find.

https://www.tenforums.com/tutorials/120679-enable-disable-qu...

Re:How MDN's Autocomplete Search Works by thrdbndndn on Tuesday August 03, 2021 @04:43PM (#28053934)
Ok, so the difference is:

1. It disappears after a few seconds.

2. It has no "next/previous/highlight all" etc. buttons (it still have these features, just no clickable buttons)

It still makes no sense to me.

I guess maybe a small portion of people would find the auto-disappearing thing useful, even though in normal Ctrl+F all you need to do is pressing Esc.

But the second "feature" totally baffles me. It's not like Ctrl+F is some expensive GUI to launch, why would I want to not have these buttons? Even if you don't need them at all (I don't), you can simply not click them, there is no downside by having them.

Re:How MDN's Autocomplete Search Works by lol768 on Tuesday August 03, 2021 @05:03PM (#28054197)
Does the usual Ctrl+F GUI support filtering down to links only?
Re:How MDN's Autocomplete Search Works by thrdbndndn on Tuesday August 03, 2021 @10:46PM (#28056638)
It doesn't, but "/" does not do that either. It's "'" that works that way (and obviously useful). I just don't know about "/".
Re:How MDN's Autocomplete Search Works by mejutoco on Tuesday August 03, 2021 @05:46PM (#28054640)
You can use the single quote character to search only links
Re:How MDN's Autocomplete Search Works by aabbcc1241 on Friday August 06, 2021 @08:11AM (#28086036)
And this has collision with my vim extension
Re:How MDN's Autocomplete Search Works by jannes on Tuesday August 03, 2021 @03:13PM (#28052926)
The only difference I know of is that "/" focuses links. So when you press return, it loads the link instead of jumping to the next result.

It's quite nice for keyboard-only web navigation.

Re:How MDN's Autocomplete Search Works by polar on Tuesday August 03, 2021 @03:33PM (#28053142)
> "/" focuses links.

It's ' to trigger quick find in links only mode.

Re:How MDN's Autocomplete Search Works by kxrm on Tuesday August 03, 2021 @03:48PM (#28053296)
I had the same confusion with his comment but I think what he meant was that when you highlight a result in a link, pressing enter causes you to follow that link (which is true). You are correct that ' focuses on only searching within links though.

Enter never goes to the next result though, so I am not sure if that is just something different between his setup and mine. I have to use F3 to go to the next result.

Re:How MDN's Autocomplete Search Works by jannes on Thursday August 05, 2021 @07:41AM (#28072335)
When I talked about enter going to the next result I was comparing it to the Ctrl+F search bar.

Sorry if that wasn't clear. (English is not my first language)