Gnus development mailing list
 help / color / mirror / Atom feed
From: "Adam Sjøgren" <asjo@koldfront.dk>
To: ding@gnus.org
Subject: Re: rendering in text, how to stop web trackers
Date: Tue, 08 Feb 2022 00:55:34 +0100	[thread overview]
Message-ID: <87czjykz9l.fsf@tullinup.koldfront.dk> (raw)
In-Reply-To: <0qmtj2mf9z.fsf@mirror.to>

Andrew writes:

> How do I tell w3m to not fetch anything and just render what came in the
> message?

I think that is supposed to be the default, looking at this variable:

,----[ C-h v mm-w3m-safe-url-regexp RET ]
| mm-w3m-safe-url-regexp is a variable defined in ‘mm-decode.el’.
| Its value is "\\`cid:"
| 
| Documentation:
| Regexp matching URLs which are considered to be safe.
| Some HTML mails might contain a nasty trick used by spammers, using
| the <img> tag which is far more evil than the [Click Here!] button.
| It is most likely intended to check whether the ominous spam mail has
| reached your eyes or not, in which case the spammer knows for sure
| that your email address is valid.  It is done by embedding an
| identifier string into a URL that you might automatically retrieve
| when displaying the image.  The default value is "\\‘cid:" which only
| matches parts embedded to the Multipart/Related type MIME contents and
| Gnus will never connect to the spammer’s site arbitrarily.  You may
| set this variable to nil if you consider all urls to be safe.
`----

?

> Or should I use shr or something else to render?

I think shr renders HTML better, but it probably various a lot with the
emails.


Oh, I have also set mm-automatic-display to (remove "text/html"
mm-automatic-display) :-)


  Best regards.

    Adam

-- 
 "LUFTVAFFEL!"                                              Adam Sjøgren
                                                       asjo@koldfront.dk



      parent reply	other threads:[~2022-02-07 23:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-07 23:24 Andrew
2022-02-07 23:44 ` Byung-Hee HWANG
2022-02-07 23:55 ` Adam Sjøgren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czjykz9l.fsf@tullinup.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).