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

Is there some reason why the page keeps refreshing automatically? It's annoying and makes it difficult to, you know, read the actual article.


The offending code that reloads the page every 3 minutes [0]. Terrible. The author told me on twitter [1] it's because of traffic, but... no. it's the js code. Ironically, the forced reload is making the traffic problem worse.

You can add a "function contentRefresh(){}" in your devtools js console to get rid of this. It was the only way I could finish the article.

[0] https://gist.github.com/jwo/720edc9fedbbafc87a10

[1] https://twitter.com/emilygee/status/596102787198492672


Every 5 minutes, right?

  var timer = setTimeout("contentRefresh()", 1000 * 60 * 5);function contentRefresh(){self.location.reload(true)}
But yes, this is astonishingly aggravating. Why would you do this on a site, or at least a page, that is attempting long-form journalism? Don't they want people to, you know, read it?


It's probably the work of a low-paid developer under pressure from business folks to force ad refreshing quickly.


Only a guess but I'd place money on "because that's the best way they can think of to increase advert impressions". I've known publishers do that for this reason, at least. Depressingly.


And yet I have adblock on, so the only thing they're accomplishing is making me not read the whole article. There's enough irony in that to cure every case of anemia worldwide.


Use no-script (FF) or script-safe (chrome). It never reloaded on me.


I ended up reading the article in Print Preview. No way for them to screw that up.


Yet.


Especially when it refreshes to "too many database connections" mid-read. Great work, citypaper.


I used to think Safari “Reader View” was sort of daft but I’ve been indispensable lately…


I'm glad it wasn't just me, but I had this happen with (what I think is) another site earlier. Are you guys using Ghostery too, perhaps?


I'm just using AdBlock Plus on this particular browser (Conkeror; Firefox-like). Haven't bothered to try with Firefox (which doesn't have Ghostery, but has a more stringent ad-blocking policy and some other privacy-ish addons that I can't recall at the moment).


It happened to me without any adblockers or other add-ons (Chrome, in its default form.) The refreshes were partly obnoxious due to not always scrolling back to the same place on the page.


Hmm, must be the site, then. I'm using Firefox (with Ghostery, why do you say it doesn't have it?) and it refreshes for me as well.


Well yeah, it's definitely the site; one of the replies to my original comment managed to identify the piece of JS that's doing it. Using a JS-blocker (or inserting a bit of JS into your developer tools to blank-out the offending function) would do the trick.


I'm not using Ghostery or any ad-blocking or tracking-blocking extensions, and I have the same problem.




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

Search: