Live data from Hacker News

Smarter Than 'Ctrl+F': Linking Directly to Web Page Content

alfy.blog

71–80 of 145 posts

Re: Smarter Than 'Ctrl+F': Linking Directly to Web Page Content

#71

I wonder whether it was a mistake to separate this feature from a standard selection. I don't know how to design it separately. The default is that selections are blue and fragments are purple, but if you choose different colors for both, in line with your color scheme, how will people know which is which? I guess you can still choose different tones of blue and purple. Why shouldn't selecting text automatically upda…

Some sites do: The Wayback Machine changes the url if you change the selection.

Re: Smarter Than 'Ctrl+F': Linking Directly to Web Page Content

#72
post #4

Sidenote: please don't hijack CTRL+F on webpages, thanks. Sincerely, the world.

Sometimes they "need" to, because rather than load 100kB of text, they'll chunk 100kB of text over ten JSON requests and searching requires backend intervention. If you make every web page an app, the browser doesn't work right anymore so you force yourself to build a browser within a browser!

Ctrl-F should search the loaded page using the browser's search settings so that the user can have a consistent interface.

If sites choose not to load the page all at once they can provide another search bar with a different experience. But that's not the Ctrl-F search.

Re: Smarter Than 'Ctrl+F': Linking Directly to Web Page Content

#73
Today I learned that Firefox finally implemented these! They don't mention this in the article, but that's new this month—for the longest time Chrome supported it but it isn't in the standard and Firefox didn't include it. Safari got it 2 years later, but Firefox held out for a while.

I'm normally not a fan of Chrome unilaterally adding something to the platform, but this has been a long time coming.

Re: Smarter Than 'Ctrl+F': Linking Directly to Web Page Content

#74

Sidenote: please don't hijack CTRL+F on webpages, thanks. Sincerely, the world.

Hijacking CTRL+K sucks, too! It's the shortcut used to focus the browser search input in Firefox, but the industry has seemingly decided it's a great way to launch a command palette.

CTRL+L works for that too on Chromium / Firefox.

Re: Smarter Than 'Ctrl+F': Linking Directly to Web Page Content

#77
This also works perfectly in Microsoft Edge and has for a long time. Pointing this out because the post makes several references to things being exclusive to Chrome, when really it's probably just Chromium.

(I'm still puzzled why so many more people choose to use a browser distributed by the world's largest ad network over one with all the same features plus a few nice add-ons, made by a software company.)

Re: Smarter Than 'Ctrl+F': Linking Directly to Web Page Content

#78

Earlier quoted context omitted.

Hijacking CTRL+K sucks, too! It's the shortcut used to focus the browser search input in Firefox, but the industry has seemingly decided it's a great way to launch a command palette.

CTRL+L works for that too on Chromium / Firefox.

Not if you choose to have separate URL and search bars. In that case, Ctrl-L goes to the URL bar, and Ctrl-K goes to the search bar.

Re: Smarter Than 'Ctrl+F': Linking Directly to Web Page Content

#79

Sidenote: please don't hijack CTRL+F on webpages, thanks. Sincerely, the world.

Please don't hijack HN threads with unrelated gripes about the modern the web and please don't pretend to speak for the world.

I have to agree.

Normally I think related side notes are fine. Heck, I’m guilty myself. But nowadays I always open the link first to make sure it's the right topic and to make sure it’s not addressed in the article. Often leads to a better response as well.

Yes, we know scroll-jacking or any other override of browser behavior is extremely disliked here.

Post reply on HN