Linked by Thom Holwerda on Tue 28th Jun 2011 18:52 UTC, submitted by Idefix
Opera Software "Opera 11.50 introduces a new and novel type of browser extension: Speed Dial extensions. Instead of handy thumbnails and links to your top sites, you can embed your Speed Dial with extensions that keep you updated - instantly - on what is happening around the Web." Other cool stuff includes more updates to the interface, password synchronisation between your Opera installations, and lots under-the-hood stuff.
Thread beginning with comment 479121
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: WTF is going on?
by Stratoukos on Wed 29th Jun 2011 17:33 UTC in reply to "RE: WTF is going on?"
Stratoukos
Member since:
2009-02-11

(imagine underscores to be indentation)

$(document).ready(function(){
__setInterval(function(){
____$("#counter p").text( function (i,current) {
______n = parseInt(strip(current))+rate;
______return format(n);
____} );
__}, 100);
});


Basically, they run a function that adds rate to the current value of the counter ten times a second. The initial value of the counter and rate (currently 9; it was 10 some minutes ago) are sent by the server and don't change unless you reload.

Reply Parent Score: 2

RE[3]: WTF is going on?
by Neolander on Wed 29th Jun 2011 17:35 in reply to "RE[2]: WTF is going on?"
Neolander Member since:
2010-03-08

Okay, so that would get a bit desynchronized with the actual count after some time, but if the rate has proper averaging this is more than precise enough for a webpage that people just view for a few seconds ;)

Reply Parent Score: 1