Re: Javascript on the Web

On Thu, 18 Oct 2007, Karl Dubost wrote:
> Richard Schwerdtfeger (18 oct. 2007 - 10:36) :
> > The web has moved to RIAs. JavaScript use is close to 60% of all web pages.
> Do you have stats on how many pages are using
> * link for javascript

Not sure what you mean by this.

> * script element

According to this December 2005 study of a billion or so documents:

...roughly half of pages had <script> tags (I just checked the raw data 
and it was about 65% of pages).

A study that I did in September 2006 covering a larger set of documents (a 
few billion) found about 75% of documents had <script> elements. In that 
study, the average page had 5 or 6 <script> elements. About 34% of 
<script> elements had src="" attributes. About 70% of pages had <script> 
elements without src="" attributes.

Of course, not all JavaScript is user-facing. Large chunks of JS are used 
for analytical purposes or ads.

Philip` might be able to corroborate these numbers.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 18 October 2007 05:38:28 UTC