FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Website Feedback
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: JavaScript and Mozilla
Author: Joe Marcus Clarke 
Date:   15-06-03 07:23

This problem didn't start happening until the Microsoft ad starting showing up on top (maybe five days ago). Now, this is the only ad that ever shows up. Here is the code that breaks Mozilla. Note, since disabling JavaScript in Mozilla works around the problem, it's a pretty good bet that this is JavaScript related.

<script language="JavaScript" type="text/javascript">
<!-- /* © 1997-2001 BURST! Media, LLC. All Rights Reserved.*/
function ShowBurstAd(adcode, width, height) {
var bN = navigator.appName;
var bV = parseInt(navigator.appVersion);
var base='http://www.burstnet.com/';
var Tv='';
var agt=navigator.userAgent.toLowerCase();
if (bV>=4)
{ts=window.location.pathname+window.location.search;
i=0; Tv=0; while (i< ts.length)
{ Tv=Tv+ts.charCodeAt(i); i=i+1; } Tv="/"+Tv;}
else {Tv=escape(window.location.pathname);
if( Tv.charAt(0)!='/' ) Tv="/"+Tv;
else if (Tv.charAt(1)=="/")
Tv="";
if( Tv.charAt(Tv.length-1) == "/")
Tv = Tv + "_";}
if (bN=='Netscape'){
if ((bV>=4)&&(agt.indexOf("mac")==-1))
{ document.write('<s'+'cript src="'+
base+'cgi-bin/ads/'+adcode+'.cgi/RETURN-CODE/JS'
+Tv+'">');
document.write('</'+'script>');
}
else if (bV>=3) {document.write('<'+'a href="'+base+'ads/' +
adcode + '-map.cgi'+Tv+'"target=_top>');
document.write('<img src="' + base + 'cgi-bin/ads/' +
adcode + '.cgi' + Tv + '" width="' + width + '" height="' + height + '"' +
' border="0" alt="Click Here"><\/a>');}
}
if (bN=='Microsoft Internet Explorer')
document.write('<ifr'+'ame id="BURST" src="'+base+'cgi-bin/ads/'
+
adcode + '.cgi' + Tv + '/RETURN-CODE" width="' + width + '" height="' + height + '"' +
'marginwidth="0" marginheight="0" hspace="0" vspace="0" ' +
'frameborder="0" scrolling="no"><\/ifr'+'ame>');
}
//-->
</script>
<!-- END BURST CODE -->

<center>

<!-- BEGIN RICH-MEDIA BURST! CODE -->
<script language="JavaScript" type="text/javascript">
<!--
ShowBurstAd('ad4556a','468','60');
// --></script>
<noscript><a href="http://www.burstnet.com/ads/ad4556a-
map.cgi/ns" target="_top"><img src="http://www.burstnet.com/cgi-
bin/ads/ad4556a.cgi/ns" width="468" height="60"
border="0" alt="Click Here"></a>
</noscript>
<!-- END BURST CODE -->

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 JavaScript and Mozilla   new
Jon Noack 12-06-03 23:36 
 Re: JavaScript and Mozilla   new
Jon Noack 13-06-03 05:44 
 Re: JavaScript and Mozilla   new
JunkMale 13-06-03 11:02 
 Re: JavaScript and Mozilla   new
Jon Noack 13-06-03 20:16 
 Re: JavaScript and Mozilla   new
Todd 14-06-03 23:38 
 Re: JavaScript and Mozilla   new
JunkMale 15-06-03 02:28 
 Re: JavaScript and Mozilla   new
Joe Marcus Clarke 15-06-03 07:23 
 Re: JavaScript and Mozilla   new
JunkMale 15-06-03 12:53 
 Re: JavaScript and Mozilla   new
Joe Marcus Clarke 15-06-03 21:27 
 Re: JavaScript and Mozilla   new
JunkMale 15-06-03 22:08 
 Re: JavaScript and Mozilla   new
Joe Marcus Clarke 15-06-03 23:39 
 Re: JavaScript and Mozilla   new
JunkMale 16-06-03 00:05 
 Re: JavaScript and Mozilla   new
Joe Marcus Clarke 16-06-03 00:20 
 Re: JavaScript and Mozilla   new
Joe Marcus Clarke 16-06-03 00:24 
 Re: JavaScript and Mozilla   new
JunkMale 16-06-03 00:46 
 Re: JavaScript and Mozilla   new
Joe Marcus Clarke 16-06-03 03:40 
 Re: JavaScript and Mozilla   new
JunkMale 16-06-03 11:15 
 Re: JavaScript and Mozilla   new
Joe Marcus Clarke 16-06-03 16:04 
 Re: JavaScript and Mozilla   new
JunkMale 16-06-03 16:15 
 Re: JavaScript and Mozilla   new
Joe Marcus Clarke 16-06-03 22:02 
 Re: JavaScript and Mozilla   new
JunkMale 16-06-03 22:29 
 Re: JavaScript and Mozilla   new
JunkMale 16-06-03 00:52 
 Re: JavaScript and Mozilla   new
Joe Marcus Clarke 16-06-03 03:40 
 Re: JavaScript and Mozilla   new
JunkMale 16-06-03 20:02 
 Re: JavaScript and Mozilla   new
Jon Noack 16-06-03 21:46 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.


Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2013 DVL Software Limited. All rights reserved.