Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ORD not defined. (Praise for Firebug.)

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> This Website
View previous topic :: View next topic  
Author Message
kilikopele
LXF regular


Joined: Wed Aug 09, 2006 4:35 pm
Posts: 298

PostPosted: Wed Apr 11, 2007 3:41 am    Post subject: ORD not defined. (Praise for Firebug.) Reply with quote

Ok, so I installed Firebug (mind you, on my Windows machine) and I've been taking it for a quick drive. I surfed here and noticed the little "Error" bug coming up. A quick glance showed me that the error is in line 44. "ORD" not defined. I don't point this out because I'm concerned about not getting my correct ad banner, but instead as a tribute to what a great tool Firebug is. I'm sure I've only scratched the surface of what it can do, but I'm legitimately impressed in how well it breaks down the code that goes into a site.

Error Line 44:
<!-- begin ad tag (tile=2) -->
43<script language="JavaScript" type="text/javascript">
44document.write('<script language="JavaScript" src="http://ad.doubleclick.net/adj/fut.gb.techmini/linux.ros;tile=2;sz=160x600;ord=' + ord + '?" type="text/javascript"></scr' + 'ipt>');
45</script><noscript><a href="http://ad.doubleclick.net/jump/fut.gb.techmini/linux.ros;tile=2;sz=160x600;ord=123456789?" target="_blank"><img src="http://ad.doubleclick.net/ad/fut.gb.techmini/linux.ros;tile=2;sz=160x600;ord=123456789?" width="160" height="600" border="0" alt=""></a></noscript>
46<!-- End ad tag -->
Back to top
View user's profile Send private message
M-Saunders
LXF regular


Joined: Mon Apr 11, 2005 1:14 pm
Posts: 2893

PostPosted: Wed Apr 11, 2007 9:34 am    Post subject: RE: ORD not defined. (Praise for Firebug.) Reply with quote

'ord' is defined in the first banner script chunk:

Code:
ord=Math.random()*10000000000000000;


We don't write those advert bits -- they're standard fare across Future sites.

M
Back to top
View user's profile Send private message Visit poster's website
kilikopele
LXF regular


Joined: Wed Aug 09, 2006 4:35 pm
Posts: 298

PostPosted: Wed Apr 11, 2007 7:06 pm    Post subject: RE: ORD not defined. (Praise for Firebug.) Reply with quote

I didn't figure you wrote the advert bits. Odd, though, that Firebug flags it as an error. It's output shows the ord as 123456789? in the noscript chunk, but shows differently in the script chunk. Oh well, though, no tool is flawless.

But it's otherwise a really cool tool that I plan on working with a bit more. I only stumbled across it by accident.

Of course, I also wonder if it induces script-kiddies to steal CSS or other scripts from sites to use on their own without permission. Every good tool has its ****-ization.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8453
Location: Warrington, UK

PostPosted: Wed Apr 11, 2007 9:57 pm    Post subject: RE: ORD not defined. (Praise for Firebug.) Reply with quote

Konqueror flags an error with "ReferenceError: Can't find variable: ord".
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> This Website All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast