On Fri, 24 Jun 2011 18:11:40 +1200, Peter Huebner
<> wrote:
>
>I think I can say with some degree of certainty that the freezing of firefox 5
>is related to javascripts trying to load sites I've redirected to localhost.
>
>Having to turn js off is awkward, other browsers do not seem to have this
>problem with javascript. But it runs lightening fast without js, never mind the
>ads!
>
>Still majorly disgruntled about the bookmark mess.
>
>-P.
I have got around that sort of problem by directing unwanted things to
my internal web server instead of localhost. Then the web server sees
that the request is for a site it does not provide, and sends an
immediate error reply. When the redirection is to localhost, you have
to wait for very long timeouts as there is no response.
It is also possible to use Privoxy (
http://www.privoxy.org) to block
unwanted URLs. Privoxy gives an immediate response. Then you only
have to redirect the real problem sites. The only one I currently
have to redirect is google-analytics.com, which I have redirected on
my DNS server so that it works for all my PCs.
If you know what you are doing, you can also make Privoxy rewrite the
contents of the most problematical pages before they are displayed, to
delete the bits you do not want. That is only worth the effort when
you visit the page often.