Hacker News new | ask | show | jobs
by Klathmon 3831 days ago
Web developers just shouldn't ever try to fight the useragent.

If you find yourself trying to "fix" a UI/UX in the browser itself, stop.

I don't care if you want 300ms faster clicks on mobile, or to force smooth scrolling in chrome, or to hijack right click for your sharing stuff, or whatever.

You are breaking stuff trying to do those things, and it's ruining my experience on your site.

1 comments

If their A/B testing indicates a net gain, why should they care about a specific user's experience?
User agents change.

If it's a clear win, they'll implement the behavior soon, and you'll be left with a broken site.