Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do the scores on this sports ticker update itself without ajax calls?

I was looking at scores at http://www.cbssports.com/nfl/scoreboard earlier and upon inspection of the code, I couldn't quite figure out how they update their scores.

I don't see any ajax calls and the games don't appear to be wrapped into iframes, etc.

Can anyone explain to me how this works?

like image 709
Chris M Avatar asked Dec 09 '12 22:12

Chris M


1 Answers

It seems like they are using Flash code to update the scores. I disabled Flash in my browser and got the following message:

Live Scoring Notice

However, if you want to implement something like that without using a Plugin, you can use Websockets in Javascript.

like image 62
Uooo Avatar answered Oct 31 '22 18:10

Uooo