6 ms·
Hijacking the browser's default behavior is a dick move
- nickthemagicman 6y agoWould an SPA be considered hijacking the fundamental nature of what the web was intended to be?
- antihero 6y agoNo
- nickthemagicman 6y agoJust odd that HTML documents were basically the web for decades then SPAs came about and people quit using them. SPAs are inherently difficult to SEO, difficult to parse by a third party, create their own DOM, etc. It seems like instead of working to make the browsers do what people wanted they just did it with Javascript.
- daenz 6y agoThis is flamebait.
- xellisx 6y agoYeah, I expect my browser to go backwards when I click back to another site, not be directed to another page on that domain. Also Pinterest hijacks the share function finch of Chrome on Android and will share a link to a main page of sorts.
- marcod 6y agoPinterest is web cancer. They steal pictures from other sites and then don't let you get back to the source.
- deleted 6y ago[deleted]
- Lammy 6y agoSee also: sites that bind the forward-slash (/) key to their own search box instead of letting it fall through to the standard browser Find In Page behavior.
- jackewiehose 6y agoI just had to reinstall Firefox Mobile (clearing all settings) and then I wasn't able to zoom on a lot of websites. Fortunately FF has an option for that but I wonder why there needs to be such an option. Why would a website-maker decide it's better when I'm not able to zoom on their website and why can they do that at all?
- phkahler 6y agoMaking the browser behavior accessible to web sites is a design error.
- nej_simon 6y agoThe committer is confusing two different things here. If you edit your browser setting regarding smooth scrolling you set what happens when you scroll on your input device, i.e. touchpad, mouse wheel or whatever. If you as a website developer set the `scroll-behaviour` css property you control what happens when the browser changes scroll position for ex. if you programatically change the focus.