Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Completely off-topic: If you scroll down past the linked article and onto the next article, the URL automatically changes (from /google-is-bringing-electronic-ids-to-android to /cisco-open-sources-mindmeld-conversational-ai-platform).

I've never seen this type of behavior from a web page before.



Several sites do that now, it's annoying and you sometimes cannot even get back to the previous article. I like to read the text on my screen near the top of my browser, so I scroll constantly as I read, and for these sites I continually scroll off the end of the article into the next one before I have finished the last vertical page of text due to the way I read. I'm not changing the way I read content due to these shitty sites, so I guess I will never finish one of their articles.


There's a very nice article about how single-page web applications work that explain the mechanics of using the location API.

https://blog.pshrmn.com/entry/how-single-page-applications-w...


If you curios how it's done check here:

https://infinite-scroll.com/


Interesting. I'm wondering what the benefit of infinite scrolling would be for the site owner. Wouldn't an article site like this want the user to click as many links within the site as possible to re-generate ads?


I don't think ALL of the ads are generated when you load the original page. The ads corresponding to the second article are loaded when the second article loads.


I am guessing the same mechanism that allows them to change the url on scroll, would be used to change/reload the ads as well.


> the URL automatically changes

in Chrome. Just tried Firefox and didn't see the same.

It's a little strange, a new paradigm-shift for the reader. If I bookmark the URL further down thinking I'm bookmarking the whole scrolled view, it reloads the bookmark to a different view - only the article I was currently scrolled to.


> in Chrome. Just tried Firefox and didn't see the same.

It does work in Firefox exactly the same way.

Just stop scrolling for a while and it's will update URL.


If you really wanna be irked, go visit techcrunch.com.


Disable JS. I find the web is much nicer without it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: