Live data from Hacker News

Elevator.js – A “back to top” button that behaves like a real elevator

tholman.com

261–270 of 336 posts

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#262
post #202
post #156

Earlier quoted context omitted.

After 20 years of using keyboards, I have, thanks to this comment, discovered the "Home" button.

For Apple 101-key keyboard users, who don’t have a “Home” key: try Cmd+Up (and Cmd+Down.) Bonus: also try Ctrl+E (and Ctrl+A) in text fields, or on the command-line. (Both of these carry over to iOS, if you’re curious. I just tested them with the iPad keyboard-folio thing.)

Are Ctrl+e and ctrl+a Emacs conventions?

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#263
post #32

"back to top" is just such an epitome of how out of touch some modern design is. We had buttons on our keyboards that did this for half a century now. As for phones it should be up to the web-browser to implement it, nobody wants to use your idea of how scrolling should work. My machine already knows how I want to browse my content, don't pretend you know better.

But if you make a really big button (or a button that appears out of nowhere on mouseover on PCs) that people frequently hit by accident, your "engagement" metric will improve, showing that the feature is valuable!

It's funny because it's (probably) true.

...AARGH! No, scratch that. It's actually infuriating. :)

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#264

Ugh, I thought I had tabs muted by default in my browser... Clearly I was mistaken. Turns out I need an extension for it. But now I have ugly mute symbols on every single tab which isn't "default" at all. What I want is sound symbols on tabs that I have expressly un-muted.

With Chromium based browsers you should be able to set every website to be muted at first. You'll only see a mute symbol on the tab when the tab tries to play sound. If there is no sound at all, there shouldn't be an icon.

That does sound like what I want. This is the first time I've heard of a compelling reason to use Chromium over Firefox. Hope I can find a decent solution for Firefox.

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#265
post #68

The "back to top" functionality is so useful in web pages. I wish they would make a dedicated button on keyboards that just takes you to the top of the page. Better yet, it can work in other apps too! It could, for example, take you to the beginning of a line when you're writing text. Edit: Wow, I thought I was going the extra mile to make the joke obvious by saying the key should also take you to the beginning of a…

Okay, but every time I try to hit the Home key with my mouse, I end up hitting the Insert and PageUp keys too, since they're so close together, so it doesn't solve the same problem that a back-to-top button does.

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#266
post #202

Earlier quoted context omitted.

For Apple 101-key keyboard users, who don’t have a “Home” key: try Cmd+Up (and Cmd+Down.) Bonus: also try Ctrl+E (and Ctrl+A) in text fields, or on the command-line. (Both of these carry over to iOS, if you’re curious. I just tested them with the iPad keyboard-folio thing.)

The actual keys are Fn+Left and Fn+End for Home and End (Fn+Up is PageUp, etc). These will also work in Terminal apps or other places that don’t have specific Cmd-Up / Down bindings.

For the record, Cmd-up/down navigates between prompts in Terminal.app

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#267

Earlier quoted context omitted.

Imagine vim editing across all text fields in an OS. Would be glorious.

macOS has a lot of baked in emacs keybindings that work almost universally in text fields. Control-A: Move to the beginning of the line or paragraph. Control-E: Move to the end of a line or paragraph. Control-F: Move one character forward. Control-B: Move one character backward. Control-L: Center the cursor or selection in the visible area. Control-P: Move up one line. Control-N: Move down one line. Control-O: Insert…

"Almost universally" even includes Electron apps, surprisingly!

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#268

Earlier quoted context omitted.

If your elevator is closed 60% of the time for repairs please don’t use it.

I'd rather ride an elevator that is closed 60% of the time for repairs than an elevator that is closed 0% of the time for repairs.

This explains a lot about your username!

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#269
post #202

Earlier quoted context omitted.

For Apple 101-key keyboard users, who don’t have a “Home” key: try Cmd+Up (and Cmd+Down.) Bonus: also try Ctrl+E (and Ctrl+A) in text fields, or on the command-line. (Both of these carry over to iOS, if you’re curious. I just tested them with the iPad keyboard-folio thing.)

Are Ctrl+e and ctrl+a Emacs conventions?

Yes, emacs navigation keybindings are native in Apple UI.

e.g. ^A ^K to clear an input line

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#270
post #79

Earlier quoted context omitted.

Hacker News attracts a lot of smart readers, so I'm kind of surprised that your comment actually 'fooled' people. It was very obvious sarcasm.

Plenty of Mac users out there without a “Home” button.

My work Apple keyboard has a home button. It's right there between Function and Page Up. https://www.apple.com/shop/product/MQ052LL/A/magic-keyboard-...

My home Apple keyboard has the Home button between Help and Page Up. Though, I will admit that keyboard is 2003ish. But I keep using it because it still has good action.

Post reply on HN