[email protected] writes:

> Just curious, having achieved with replace-webbug-images=yes:
>
> <!-- WWWOFFLE (replace-webbug-images) - img
> src="http://www.wired.com/c/s.gif"; width="1" height="1" alt="" -->
> <img src="http://localhost:8080/local/dontget/replacement.gif";
> width="1" height="1" alt="" />
>
> Why is there no way to go further and achieve just:
>
> <!-- WWWOFFLE (replace-webbug-images) - img
> src="http://www.wired.com/c/s.gif"; width="1" height="1" alt="" -->
>
> I.e., just "zap the M.F." without pulling in any replacement?

The code replaces just the URL and leaves all of the other attributes
of the HTML the same.  The principle is to make the smallest possible
change to the HTML that removes them.

> I tried replacement-webbug-image= but it insists on a URL. There is no
> /dev/null URL I can use to tell it just use no <img> at all.

> Hmmm, one can disable scripts without replacing them (so what is
> replacement.js, mentioned on the man page, still for?) but all the
> image replacement options on the man page don't have a way to "just
> say no (image at all)". (Yes, I already don't fetch them.)

Yes, scripts are different because they are not rendered and there
isn't anything useful to replace them with (except for the
replacement.js that you mention).

The replacement.js is useful for the DontGet section of the
configuration file while the disabling of Javascript only applies to
the ModifyHTML section.  If you haven't got the ModifyHTML enabled you
can still replace the scripts that you don't like.

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             [email protected]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.9/user.html

Reply via email to