3 ms·
How could you change browser APIs to block infinite scrolling? It boils down to making a network request and adding html elements. You can't disable those since
by ihuman 7y ago
How could you change browser APIs to block infinite scrolling? It boils down to making a network request and adding html elements. You can't disable those since they're using significantly outside of infinite scrolling.
- jfengel 7y agoThe best way to block it would be to provide direct support for it. Rather than each site rewrite the user experience with Javascript, the browser could support a standard paginated HTML. Then it could render that as infinite scroll, or pagination, at the user's preference. Now that the Javascript genie is out of the bottle, you can't stop single-page apps from doing their own navigation. But if you make it simple enough for developers, many new sites will choose to support a standard HTML feature rather than continue to manage it themselves. That would, of course, take time and be the usual HTML-evolution clusterf*. But if Google or Mozilla decided to start it, in conjunction with one or a few major blog/social-media providers, it could probably be widely supported within a decade.
- s_y_n_t_a_x 7y agoThat's actually in development https://www.chromestatus.com/features/5673195159945216 https://www.chromestatus.com/features/5673195159945216 No signs from other vendors than Chrome though.