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   Newer Topic  |  Older Topic 
 JavaScript and Mozilla
Author: Jon Noack 
Date:   12-06-03 23:36

I think it might be a 1.4-RC1 specific issue, but I can't view the site with Mozilla 1.4-RC1 on Windows 2000. The entire page loads (everything there with view source), but only the ad at the top is displayed.

Just thought I give a heads up. Pretty sure the problems not on your end, though...

Jon

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: Jon Noack 
Date:   13-06-03 05:44

Huh -- same issue with Mozilla 1.3.1 on FreeBSD 5.1-RELEASE. I guess that advertisement JavaScript is killing it...

Jon

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: JunkMale 
Date:   13-06-03 11:02

This sounds like Mozilla can't cope. The HTML is valid HTML. I'm sorry, but I'm not sure what to do other than check for Mozilla and adjust accordingly. That is something I don't want to do.

--
Dan Langille - webmaster

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: Jon Noack 
Date:   13-06-03 20:16

The page displays fine with JavaScript turned off, so it's not a question of HTML validity. I guess the advertisement Javascript is doing something Mozilla doesn't like (IE specific?). It did work in Konqueror -- I'll try to look into more.

Does it work for anyone out there using Mozilla?

Jon

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: Todd 
Date:   14-06-03 23:38

Negative, Mozilla 1.3 on FreeBSD5 shows only the banner. If you can't find the javascript problem and fix it perhaps a simple browser detection script to tell Mozilla users to use Konqueror or something else to view the page until Mozilla can address the issue..? Otherwise you may loose loyal visitors.

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: JunkMale 
Date:   15-06-03 02:28

Todd wrote:
>
> Negative, Mozilla 1.3 on FreeBSD5 shows only the banner. If
> you can't find the javascript problem and fix it

I'm not yet aware that it's a Javascript problem. Can someone grab source code for the offending ad?

> perhaps a
> simple browser detection script to tell Mozilla users to use
> Konqueror or something else to view the page until Mozilla
> can address the issue..?

Can someone provide a patch please?

--
Dan Langille - webmaster

Reply To This 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
 
 Re: JavaScript and Mozilla
Author: JunkMale 
Date:   15-06-03 12:53

I think the cause of the problem is *not* the above code. This code is from BurstMedia, my ad broker. It's been around for years on this website. It must be something else.

Is there an iframe on the page which fails?

--
Dan Langille - webmaster

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: Joe Marcus Clarke 
Date:   15-06-03 21:27

What changed in the last six or seven days? That would be the best place to start.

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: JunkMale 
Date:   15-06-03 22:08

New ads come in all the time. It might be a particular ad.

Please correct: My understanding is the problem occurs only with the Microsoft ad. It occurs with no other ad.

--
Dan Langille - webmaster

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: Joe Marcus Clarke 
Date:   15-06-03 23:39

That's correct. Since the problem started, the Microsoft add (JTech or something) is the _only_ add that ever shows up. Previously, it was more random. The problem happens whether or not the add is an image or a Flash applet.

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: JunkMale 
Date:   16-06-03 00:05

Joe Marcus Clarke wrote:
>
> That's correct. Since the problem started, the Microsoft add
> (JTech or something) is the _only_ add that ever shows up.

That's very odd. Have you tried flushing your browser's cache?

> Previously, it was more random. The problem happens whether
> or not the add is an image or a Flash applet.


The same Microsoft ad can be either an image or Flash?

--
Dan Langille - webmaster

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: Joe Marcus Clarke 
Date:   16-06-03 00:20

I've flushed the memory and disk cache as well as wiped out the history multiple times. Yes, the ad can be either an image or a Flash applet. The only thing that corrects the problem is disabling JavaScript.

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: Joe Marcus Clarke 
Date:   16-06-03 00:24

Here's something new. As soon as I clicked on the Microsoft ad, then went back, the ad changed, and FreshPorts works again. Now, if that's the requirement, that's crap. Ads suck to begin with, but to force one to click on them for the page to work is just downright wrong.

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: JunkMale 
Date:   16-06-03 00:46

Ads suck?! ;) They are my main source of income... in fact, right now, my only source of income. They pay for things like hardware... Previously they paid for bandwidth... but we digress.

So now that you have a different ad, things seem to have cleared up. What happens if you get the MS ad again?

--
Dan Langille - webmaster

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: JunkMale 
Date:   16-06-03 00:52

Is this the ad you were seeing?

http://www.burstmedia.com/release/getgif.asp?id=37228

For what it's worth, I don't think it's the Javascript. if you turn off Javascript, it just means that certain ads, only available via Javascript, are not displayed. I think it's the ad itself.

So far I've only been able to find the flash ad shown above. I haven't been able to find the image ad you are referring to.

--
Dan Langille - webmaster

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: Joe Marcus Clarke 
Date:   16-06-03 03:40

Ads suck becuase they take up bandwidth, and now, apparently, do things like this. Maybe you need a new ad source. I haven't gotten the MS ad back as the main ad. If I do, I'll let you know the outcome.

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: Joe Marcus Clarke 
Date:   16-06-03 03:40

That's the ad. Only when I click on it, I get the image ad.

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: JunkMale 
Date:   16-06-03 11:15

Joe Marcus Clarke wrote:
>
> Ads suck becuase they take up bandwidth

And they pay me much needed cash. Users rarely do that....

> and now, apparently do things like this.

The ad problem may be the symptom, but we know the problem is browser specific.

> Maybe you need a new ad source.

*cough* Maybe you need a new browser? ;)

> I
> haven't gotten the MS ad back as the main ad. If I do, I'll
> let you know the outcome.

Thanks.

--
Dan Langille - webmaster

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: Joe Marcus Clarke 
Date:   16-06-03 16:04

Dan Langille wrote:
>
> Joe Marcus Clarke wrote:
> >
> > Ads suck becuase they take up bandwidth
>
> And they pay me much needed cash. Users rarely do that....

How much is BurstNet paying you?

>
> > and now, apparently do things like this.
>
> The ad problem may be the symptom, but we know the problem is
> browser specific.

Yeah, but the browser affected is used by about 80% of the FreeBSD users. This bug affects Mozilla, Firebird/Phoenix, Galeon, and Epiphany. Between all of those, you're talking the bulk of your FreeBSD user base. For that reason alone, you should be concerned about using your user base.

>
> > Maybe you need a new ad source.
>
> *cough* Maybe you need a new browser? ;)

Read above. FP is an invaluable service, and you can't isolate so much of your user base.

Joe

>
> > I
> > haven't gotten the MS ad back as the main ad. If I do, I'll
> > let you know the outcome.
>
> Thanks.
>
>

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: JunkMale 
Date:   16-06-03 16:15

Joe Marcus Clarke wrote:
>
> Dan Langille wrote:
> >
> > Joe Marcus Clarke wrote:
> > >
> > > Ads suck becuase they take up bandwidth
> >
> > And they pay me much needed cash. Users rarely do that....
>
> How much is BurstNet paying you?

It varies from ad to ad. But the amount is not relevant to this discussion. The ads are not going away.

> > > and now, apparently do things like this.
> >
> > The ad problem may be the symptom, but we know the problem is
> > browser specific.
>
> Yeah, but the browser affected is used by about 80% of the
> FreeBSD users. This bug affects Mozilla, Firebird/Phoenix,
> Galeon, and Epiphany. Between all of those, you're talking
> the bulk of your FreeBSD user base. For that reason alone,
> you should be concerned about using your user base.

Have I given any indication that I am not concerned?

> > > Maybe you need a new ad source.
> >
> > *cough* Maybe you need a new browser? ;)
>
> Read above. FP is an invaluable service, and you can't
> isolate so much of your user base.

Suggesting a change of tools, either at the server or at the client, is not a solution. Let's stick with facts and work towards isolating the problem.

For starters:

- the problem affects only Mozilla browsers
- the problam appears to be related to one ad and one ad only
- the problem is not a Javascript issue. The reason the problem does not occur when Javascript is disabled is because it is a Flash ad, which is not displayed when Javascript is disabled.

Can anyone correct or add to the above?

--
Dan Langille - webmaster

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: JunkMale 
Date:   16-06-03 20:02

It seems we are not alone:

http://forums.techguy.org/t139751/s.html

http://www.linuxquestions.org/questions/showthread.php?threadid=65538

I've asked Burst to remove this ad from my rotation.

--
Dan Langille - webmaster

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: Jon Noack 
Date:   16-06-03 21:46

Thank you! Sorry for being out of the loop -- apparently DSL modems don't like lightning very much...

Jon Noack

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: Joe Marcus Clarke 
Date:   16-06-03 22:02

Dan Langille wrote:
>
> Joe Marcus Clarke wrote:
> >
> > Dan Langille wrote:
> > >
> > > Joe Marcus Clarke wrote:
> > > >
> > > > Ads suck becuase they take up bandwidth
> > >
> > > And they pay me much needed cash. Users rarely do that....
> >
> > How much is BurstNet paying you?
>
> It varies from ad to ad. But the amount is not relevant to
> this discussion. The ads are not going away.

I was curious from the standpoint of how much it would cost if I were to pay the fees.

>
> > > > and now, apparently do things like this.
> > >
> > > The ad problem may be the symptom, but we know the
> problem is
> > > browser specific.
> >
> > Yeah, but the browser affected is used by about 80% of the
> > FreeBSD users. This bug affects Mozilla, Firebird/Phoenix,
> > Galeon, and Epiphany. Between all of those, you're talking
> > the bulk of your FreeBSD user base. For that reason alone,
> > you should be concerned about using your user base.
>
> Have I given any indication that I am not concerned?

Well, your initial responses were a bit abrupt given the fact that so many users appear to be running into this. Perhaps I misjudged given the black-and-white nature of print.

>
> > > > Maybe you need a new ad source.
> > >
> > > *cough* Maybe you need a new browser? ;)
> >
> > Read above. FP is an invaluable service, and you can't
> > isolate so much of your user base.
>
> Suggesting a change of tools, either at the server or at the
> client, is not a solution. Let's stick with facts and work
> towards isolating the problem.
>
> For starters:
>
> - the problem affects only Mozilla browsers

True.

> - the problam appears to be related to one ad and one ad only

True.

> - the problem is not a Javascript issue. The reason the
> problem does not occur when Javascript is disabled is because
> it is a Flash ad, which is not displayed when Javascript is
> disabled.

Not 100% sure about this...

>
> Can anyone correct or add to the above?

The problem also occurs on the non-Flash ad (i.e. the image ad). For example, if I launch straight Mozilla (which doesn't have the Flash plugin), I get the same ad, and the same behavior.

Joe

>
>

Reply To This Message
 
 Re: JavaScript and Mozilla
Author: JunkMale 
Date:   16-06-03 22:29

Joe Marcus Clarke wrote:

> I was curious from the standpoint of how much it would cost
> if I were to pay the fees.

<a href="http://www.bchosting.com/">BChosting</a> provide the machine, the bandwidth, and remote support should something go wrong which I cannot fix from here. I do about 45GB a month. The box in question also hosts freebsddiary.org, freshsource.org (and several of my other domains which have very little bandwidth compared to those already mentioned). The service provided by BCbosting corresponds to a very substantial and non-trivial value. Even if all other ads were removed, I'll still be displaying ads for them.

On top of this, I also display ads for other worthy causes (e.g. daemonnews.org)

I think it would take about US$1000-$1200 to get rid of all the non-paying ads, but it wouldn't get rid of ads altogether.

> > > > > and now, apparently do things like this.
> > > >
> > > > The ad problem may be the symptom, but we know the
> > problem is
> > > > browser specific.
> > >
> > > Yeah, but the browser affected is used by about 80% of the
> > > FreeBSD users. This bug affects Mozilla, Firebird/Phoenix,
> > > Galeon, and Epiphany. Between all of those, you're talking
> > > the bulk of your FreeBSD user base. For that reason alone,
> > > you should be concerned about using your user base.

> > For starters:
> >
> > - the problem affects only Mozilla browsers
>
> True.
>
> > - the problam appears to be related to one ad and one ad only
>
> True.
>
> > - the problem is not a Javascript issue. The reason the
> > problem does not occur when Javascript is disabled is because
> > it is a Flash ad, which is not displayed when Javascript is
> > disabled.
>
> Not 100% sure about this...

I thought it was a Flash-based ad, but it's an animated GIF.

> > Can anyone correct or add to the above?
>
> The problem also occurs on the non-Flash ad (i.e. the image
> ad). For example, if I launch straight Mozilla (which
> doesn't have the Flash plugin), I get the same ad, and the
> same behavior.

Good. So it's not Javascript.

See the other thread recently started where I've found it's not just us having the problem.

--
Dan Langille - webmaster

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


 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.