Re:Elevator.js (2015)
by mishraprince on Thursday February 24, 2022 @02:20PM
(#30458981)
Why that audio? Scared, I could have spilled some fine coffee!
[ Parent
| on HN ]
I submitted a PR for configurable volume ~2015 [0]. For as often as I see this complaint in threads about the project, it's a shame that the author isn't interested in implementing it.
[0] https://github.com/tholman/elevator.js/pull/64
[1] https://github.com/tholman/elevator.js/issues/113
Yeah, fuck this audio, it literally made me rip my earbuds out because it was so loud and unexpected. Straight up asshole design.
Itβs elevator music. Relax and enjoy the ride
Oh but you don't understand! They had to take their earbuds out. Clearly this is a malicious site and should be treated as such! The volume, after all. Yhoiseth, the volume.
The audio is the whole point of the library. Otherwise you could just use
window.scrollTo({ top: 0, behavior: "smooth" })