4 ms·
So I went to the site in Chrome and tried to back arrow to HN and the site cleaned out the history queue in Chrome. I stopped there. This is bad form in opinio
by epalmer 10y ago
So I went to the site in Chrome and tried to back arrow to HN and the site cleaned out the history queue in Chrome. I stopped there. This is bad form in opinion.
- jordanlev 10y agoSame here. Wasn't sure exactly how (or more importantly, why) it was doing this. Some lame attempt to keep me on the site? Or some misconfigured / misunderstood / improperly-used feature of a web app framework?
- hnrodey 10y ago"Never attribute to malice that which is adequately explained by carelessness."
- topspin 10y agoYes, I noticed that as well. Hijacking the back button just makes it look more like a scam than it already appears... Write your own paycheck with this one weird trick! Maybe I'm all wet and this is totally legit, but that's not the experience I've had with people that make sites that do this. Huge red flag.
- dopamean 10y agoScam? Are you serious? It doesn't appear that the site is selling anything. What could the scam possibly be?
- pat_space 10y agothis appears to be fixed
- csallen 10y agoSorry! It was a bug due to redirecting from / to /businesses. Therefore clicking the back button would take you to / again, which would automatically redirect to /businesses. I just fixed it by using replaceState. I hadn't tested this before, because I just launched the site and therefore hadn't previously linked to it -- I'd always visited directly.
- epalmer 10y agoThanks for clarifying and fixing.
- wwalser 10y agoAs a quick tip, I don't think any modern browsers allow a site to wipe out history from previously visited sites. In this case for example two quick hits to the back button should have worked. You can click and hold the back button to move backward more than one history instance.
- Raphmedia 10y agoYou can't use the back arrow on Chrome anymore.