News for hackers. Stuff that matters.
Re:Show HN: TheKnob – sound volume control knob made of conc... by tsomctl on Sunday June 07, 2020 @02:13PM (#23449316)
Not sure what pisses me off more. That, or the music autoplaying.
Re:Show HN: TheKnob – sound volume control knob made of conc... by jbverschoor on Sunday June 07, 2020 @06:22PM (#23451462)
Or breaking the back button
Re:Show HN: TheKnob – sound volume control knob made of conc... by pedroma on Sunday June 07, 2020 @07:27PM (#23452000)
People just need to know when to use replaceState instead of pushState.

https://developer.mozilla.org/en-US/docs/Web/API/History/rep...

Re:Show HN: TheKnob – sound volume control knob made of conc... by splintercell on Monday June 08, 2020 @12:07AM (#23453471)
pushState maybe sometimes used but replaceState should never be used.

Seriously, many times I was on a website where scrawling introduce you to new article but it also replace the URL oh, now I wanted to go back to the original article because I wanted to share with you but I couldn't. at least with a push State I could retrace my steps and not rely on the developer guessing where I might have been going.

Re:Show HN: TheKnob – sound volume control knob made of conc... by Gibbon1 on Sunday June 07, 2020 @06:26PM (#23451491)
Be nice if there was a DNS that blackholes websites that break the back button.
Re:Show HN: TheKnob – sound volume control knob made of conc... by jbverschoor on Monday June 08, 2020 @03:52PM (#23460076)
OH yeah! A DNS that would crawl the website, launch a VM with a couple browsers to see if the backbutton is broken.
Re:Show HN: TheKnob – sound volume control knob made of conc... by kaushikt on Monday June 08, 2020 @03:00AM (#23454236)
breaking the back button is an absolute sin. What could be the possible use case for anyone to break the back button this way?
Re:Show HN: TheKnob – sound volume control knob made of conc... by teemofeev on Monday June 08, 2020 @12:07PM (#23457815)
Sorry guys, I didn't expect so much interest from the audience. I've updated the website, hope it's better now :)
Re:Show HN: TheKnob – sound volume control knob made of conc... by teemofeev on Monday June 08, 2020 @11:36AM (#23457437)
Hey tsomctl, sorry for the inconvenience. We've updated the website. Removed the autoplay. I hope it works better now.
Re:Show HN: TheKnob – sound volume control knob made of conc... by quickthrower2 on Monday June 08, 2020 @06:38AM (#23455373)
Thank god for iOS safari. Quiet as a mouse.