Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Annoying "Alert" in 1.3b

0 views
Skip to first unread message

PC One

unread,
Feb 11, 2003, 1:52:53 AM2/11/03
to
An annoying change in 1.3b

If you use "hosts" file in windows to block "adservers". Mozilla will
"Alert" you that the "Document contains no data". Duh, this is the
idea behind blocking ads. Why on earth do I have to click "OK" every
time an Ad is blocked. I know that Mozilla is telling you that the IP
address 127.0.0.1 is sending no data back, but this is a pain in the
neck.

Please get rid of this "Alert"

Michael Lefevre

unread,
Feb 11, 2003, 5:59:03 AM2/11/03
to
In article <ace2897b.0302...@posting.google.com>, PC One
wrote:

strange that it's changed for you in 1.3b - mozilla has been doing this
forever, and this has been a frequently-reported issue since before 1.0.
if you weren't seeing the error alerts before, I guess you have something
on your system that was making the usual error not happen...



> Please get rid of this "Alert"

You can get rid of the alerts by enabling error pages. The error pages
stuff isn't finished yet, so it's not enabled by default (I guess that
will change eventually), but you can turn it on with a hidden pref. see
http://www.geocities.com/pratiksolanki/ for that.

Alternatively, if you use the IP of a webserver instead of 127.0.0.1 (or
even run a webserver on your own machine), that will also get rid of the
errors as you'll get a 404 from that server.

--
Michael

PC One

unread,
Feb 11, 2003, 12:15:53 PM2/11/03
to
Michael Lefevre <new...@michaellefevre.com> wrote in message news:<b2al1n$1a8adc$1...@ID-106624.news.dfncis.de>...

> In article <ace2897b.0302...@posting.google.com>, PC One
> wrote:
> > An annoying change in 1.3b
> >
> > If you use "hosts" file in windows to block "adservers". Mozilla will
> > "Alert" you that the "Document contains no data". Duh, this is the
> > idea behind blocking ads. Why on earth do I have to click "OK" every
> > time an Ad is blocked. I know that Mozilla is telling you that the IP
> > address 127.0.0.1 is sending no data back, but this is a pain in the
> > neck.
>
> strange that it's changed for you in 1.3b - mozilla has been doing this
> forever, and this has been a frequently-reported issue since before 1.0.
> if you weren't seeing the error alerts before, I guess you have something
> on your system that was making the usual error not happen...

I have been usig Mozilla since 0.97. I started using "hosts" file and
the cookperm.txt file at version 1.2.1. I have used this at my
computers at home (Win2000 and Win98) and at three other computers at
work (WIn2000). I never had this problem till now (at least at home; I
cannot verify the other computers till I return from my vacation). The
files I am using have some added hosts.

I would like to mention that it does not occur in Phoenix 0.5 except
when directly clicking a link going thru one of those servers as in
http://www.qksrv.net/click-645730-8264422

It does not occur with Opera (6.05 and 7.01).

>
> > Please get rid of this "Alert"
>
> You can get rid of the alerts by enabling error pages. The error pages
> stuff isn't finished yet, so it's not enabled by default (I guess that
> will change eventually), but you can turn it on with a hidden pref. see
> http://www.geocities.com/pratiksolanki/ for that.
>

I just included the option:
user_pref("browser.xul.error_pages.enabled", true);
and no more alerts. I am getting ""Net Reset Error ...." in the place
of the Ad.

> Alternatively, if you use the IP of a webserver instead of 127.0.0.1 (or
> even run a webserver on your own machine), that will also get rid of the
> errors as you'll get a 404 from that server.

What about putting the IP of a router? Will that work?

Thanks

One more issue.
When trying http://slashdot.org/slashdot.xml I get a codded page
instead of something like
http://my.opera.com/customize/panels/?rdf=http://slashdot.org/slashdot.rdf
to use in the sidebar. The mozdev project for that
http://slashzilla.mozdev.org/ never worked with me.

Michael Lefevre

unread,
Feb 11, 2003, 12:35:47 PM2/11/03
to
In article <ace2897b.03021...@posting.google.com>, PC One
wrote:

> Michael Lefevre <new...@michaellefevre.com> wrote in message news:<b2al1n$1a8adc$1...@ID-106624.news.dfncis.de>...
>> In article <ace2897b.0302...@posting.google.com>, PC One
>> wrote:
>> > An annoying change in 1.3b
>> >
>> > If you use "hosts" file in windows to block "adservers". Mozilla will
>> > "Alert" you that the "Document contains no data". Duh, this is the
>> > idea behind blocking ads. Why on earth do I have to click "OK" every
>> > time an Ad is blocked. I know that Mozilla is telling you that the IP
>> > address 127.0.0.1 is sending no data back, but this is a pain in the
>> > neck.
>>
>> strange that it's changed for you in 1.3b - mozilla has been doing this
>> forever, and this has been a frequently-reported issue since before 1.0.
>> if you weren't seeing the error alerts before, I guess you have something
>> on your system that was making the usual error not happen...
>
> I have been usig Mozilla since 0.97. I started using "hosts" file and
> the cookperm.txt file at version 1.2.1. I have used this at my
> computers at home (Win2000 and Win98) and at three other computers at
> work (WIn2000). I never had this problem till now (at least at home; I
> cannot verify the other computers till I return from my vacation). The
> files I am using have some added hosts.
>
> I would like to mention that it does not occur in Phoenix 0.5 except
> when directly clicking a link going thru one of those servers as in
> http://www.qksrv.net/click-645730-8264422
>
> It does not occur with Opera (6.05 and 7.01).

wouldn't expect it to happen with Opera, but as I said, it's strange that
it didn't/doesn't happen for you with 1.2.1 and 0.5. not sure why that
might be...

[snip]


> I just included the option:
> user_pref("browser.xul.error_pages.enabled", true);
> and no more alerts. I am getting ""Net Reset Error ...." in the place
> of the Ad.

yeah, that's as expected. unfortunately if you get a full page error
from an unreachable site or something, you may find there are issues with
the history and/or back/forward buttons, but it's possible to workaround
those...

>> Alternatively, if you use the IP of a webserver instead of 127.0.0.1 (or
>> even run a webserver on your own machine), that will also get rid of the
>> errors as you'll get a 404 from that server.
>
> What about putting the IP of a router? Will that work?

probably not (unless your router runs a webserver for configuration or
whatever, in which case it might). the IP needs to be something with a
webserver on that will return a 404 page when your browser requests the
page (i.e. if the ad is www.adserver.com/someadbanner and you have it in
your hosts file as IP 10.11.12.13, then the browser will request
10.11.12.13 from that server - if that server doesn't reply, you get the
error)

> One more issue.
[snipped 'cause i don't know the answer]

--
Michael

Michael Lefevre

unread,
Feb 14, 2003, 9:53:07 AM2/14/03
to
In article <b2bc9j$19sno7$1...@ID-106624.news.dfncis.de>, Michael Lefevre
wrote:

following up because I think I've now spotted the reason -
http://bugzilla.mozilla.org/show_bug.cgi?id=189965
ANY connection error treated as TCP RST, resulting in "the document
contains no data"

that bug has just been fixed, so you should find the 1.3 final error
behaviour (and also nightly builds from 20030114) is the same as it was
in 1.2.1.

--
Michael

0 new messages