News for hackers. Stuff that matters.
Re:I was an undercover Uber driver by yellowapple on Wednesday May 06, 2015 @07:00PM (#9502316)
Is there some reason why the page keeps refreshing automatically? It's annoying and makes it difficult to, you know, read the actual article.
Re:I was an undercover Uber driver by jwolgamott on Wednesday May 06, 2015 @08:13PM (#9502582)
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

Re:I was an undercover Uber driver by blahedo on Wednesday May 06, 2015 @08:49PM (#9502728)
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?
Re:I was an undercover Uber driver by morgante on Thursday May 07, 2015 @12:43AM (#9503326)
It's probably the work of a low-paid developer under pressure from business folks to force ad refreshing quickly.
Re:I was an undercover Uber driver by corin_ on Wednesday May 06, 2015 @07:40PM (#9502476)
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.
Re:I was an undercover Uber driver by yellowapple on Wednesday May 06, 2015 @07:55PM (#9502521)
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.
Re:I was an undercover Uber driver by micro-ram on Thursday May 07, 2015 @02:01AM (#9503510)
Use no-script (FF) or script-safe (chrome). It never reloaded on me.
Re:I was an undercover Uber driver by eosrei on Wednesday May 06, 2015 @07:29PM (#9502430)
I ended up reading the article in Print Preview. No way for them to screw that up.
Re:I was an undercover Uber driver by TeMPOraL on Wednesday May 06, 2015 @09:37PM (#9502858)
Yet.
Re:I was an undercover Uber driver by rconti on Wednesday May 06, 2015 @07:17PM (#9502383)
Especially when it refreshes to "too many database connections" mid-read. Great work, citypaper.
Re:I was an undercover Uber driver by Eric_WVGG on Wednesday May 06, 2015 @07:30PM (#9502433)
I used to think Safari “Reader View” was sort of daft but I’ve been indispensable lately…
Re:I was an undercover Uber driver by StavrosK on Wednesday May 06, 2015 @07:31PM (#9502438)
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?
Re:I was an undercover Uber driver by yellowapple on Wednesday May 06, 2015 @07:53PM (#9502514)
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).
Re:I was an undercover Uber driver by lotharbot on Wednesday May 06, 2015 @08:01PM (#9502539)
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.
Re:I was an undercover Uber driver by StavrosK on Wednesday May 06, 2015 @07:58PM (#9502528)
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.
Re:I was an undercover Uber driver by yellowapple on Thursday May 07, 2015 @02:14PM (#9507097)
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.
Re:I was an undercover Uber driver by Zarel on Wednesday May 06, 2015 @08:27PM (#9502648)
I'm not using Ghostery or any ad-blocking or tracking-blocking extensions, and I have the same problem.