[LINK] The Australian IT site.

Rick Welykochy rick at praxis.com.au
Thu Aug 30 11:25:28 AEST 2007


Bernard Robertson-Dunn wrote:

> When I go to the Australian IT web site:
> http://www.australianit.news.com.au/
> 
> I get an IE warning message:
> 
> "A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive.
> 
> Do you want to abort the script?"
> 
> And then a dialog box with another warning "Out of memory at line: 56"

I have no trouble with this page using Mozilla SeaMonkey on Mac OS X.
But, I have Flash disabled. There are at least seven flash objects
embedded in this page. I have found even one poorly written flash
object can bring my entire machine to its knees, so seven ... urgh.
No apologies to flash -- it sucks.




> I've had a quick look at the source and I'm not an HTML expert but these lines caught my attention and keep repeating throughout the page:
> 
> <SCRIPT TYPE="text/javascript" language="JavaScript">
> <!-- Hide from old browsers
> // Cache-busting and pageid values
> random = Math.round(Math.random() * 100000000);
> if (!pageNum) var pageNum = Math.round(Math.random() * 100000000);
> 
> document.write('<SCR');
> document.write('IPT TYPE="TEXT/JAVASCRIPT" SRC="http://mercury.tiser.com.au/jserver/acc_random=' + random + '/SITE=AIT/AREA=NEWS.HOME/AAMSZ=468X60/pageid=' + pageNum + '">');
> document.write('</SCR');
> document.write('IPT>');

Nothing creepy or untoward. The code is simply concocting a unique URL
based on a uniform random number in the range [0,99999999], e.g.

http://mercury.tiser.com.au/jserver/acc_random={RANDOM}/SITE=AIT/AREA=NEWS.HOME/AAMSZ=468X60/pageid={RANDOM}


cheers
rickw



-- 
_________________________________
Rick Welykochy || Praxis Services

I didn't have time to write a short letter, so I wrote a long one instead.
      -- Mark Twain



More information about the Link mailing list