From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: Built-in HTML renderer in Emacs?
Date: Wed, 01 Sep 2010 22:26:35 +0200 [thread overview]
Message-ID: <m3d3sxjjlw.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <87tym96wrz.fsf@lifelogs.com>
Ted Zlatanov <tzz@lifelogs.com> writes:
> OK, s/spammers/evildoers and other miscreants/. I believe 99% of the
> users will set this to nil or give up. We should at least try to give
> this some nuance; a regex is not the best solution.
Well, we could have a more fine-grained solution. Like "I want to have
privacy", "do a best effort for privacy, but let me loot at purdy
pictures", and "whatever".
> Gnus doesn't let w3m use cookies so session tracking won't work. We're
> only worried about images. We should maybe look at w3m-filter-rules and
> structure gnus-blocked-images after it.
Well. I'm not sure this is very helpful, really:
(defcustom w3m-filter-rules
`(("\\`http://www\\.geocities\\.co\\.jp/"
w3m-filter-delete-regions
"<DIV ALIGN=CENTER>\n<!--*/GeoGuide/*-->" "<!--*/GeoGuide/*-->\n</DIV>")
("\\`http://[a-z]+\\.hp\\.infoseek\\.co\\.jp/"
w3m-filter-delete-regions
"<!-- start AD -->" "<!-- end AD -->")
("\\`http://linux\\.ascii24\\.com/linux/"
w3m-filter-delete-regions
"<!-- DAC CHANNEL AD START -->" "<!-- DAC CHANNEL AD END -->")
("\\`http://\\(www\\|images\\|news\\|maps\\|groups\\)\\.google\\."
w3m-filter-google)
("\\`https?://\\(?:www\\.\\)?amazon\\.\
\\(?:com\\|co\\.\\(?:jp\\|uk\\)\\|fr\\|de\\)/"
w3m-filter-amazon)
("\\`https?://mixi\\.jp" w3m-filter-mixi)
("\\`http://eow\\.alc\\.co\\.jp/[^/]+/UTF-8" w3m-filter-alc)
("\\`http://www\\.asahi\\.com/" w3m-filter-asahi-shimbun)
("\\`http://imepita\\.jp/[0-9]+/[0-9]+" w3m-filter-imepita)
("\\`http://allatanys\\.jp/" w3m-filter-allatanys)
("\\`http://.*\\.wikipedia\\.org/" w3m-filter-wikipedia)
("" w3m-filter-iframe))
> Also image URLs that have GET parameters could be filtered out
> explicitly as a separate rule. That's very likely to be a web bug.
There are plenty of images out there that have get parameters.
>>> 1x1 images are suspicious but a 800x600 image is probably safe.
>>> Basically the pixel count should be over 8 and each dimension should
>>> be over 2.
>
> LMI> You don't know the size of the image before you download it.
>
> It's pretty common to set the width and height explicitly to 1 for web
> bug images in the HTML. That's what I was thinking of; sorry for being
> unclear.
Ah, right. Yes, that makes sense. Please make it so. :-)
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
next prev parent reply other threads:[~2010-09-01 20:26 UTC|newest]
Thread overview: 110+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-28 22:43 Lars Magne Ingebrigtsen
2010-08-28 22:54 ` Leo
2010-08-28 23:02 ` Lars Magne Ingebrigtsen
2010-08-28 23:10 ` Lars Magne Ingebrigtsen
2010-08-28 23:21 ` Adam Sjøgren
2010-08-29 0:03 ` Steinar Bang
2010-08-29 1:29 ` Lars Magne Ingebrigtsen
2010-08-29 2:45 ` Lars Magne Ingebrigtsen
2010-08-29 14:17 ` Adam Sjøgren
2010-08-29 14:26 ` Lars Magne Ingebrigtsen
2010-08-29 14:29 ` Adam Sjøgren
2010-08-29 14:34 ` Lars Magne Ingebrigtsen
2010-08-29 14:43 ` Adam Sjøgren
2010-08-29 18:29 ` Adam Sjøgren
2010-08-29 18:38 ` Lars Magne Ingebrigtsen
2010-08-29 18:54 ` Adam Sjøgren
2010-08-30 19:39 ` Andreas Schwab
2010-08-30 19:47 ` Lars Magne Ingebrigtsen
2010-08-30 16:21 ` Adam Sjøgren
2010-08-30 16:51 ` Lars Magne Ingebrigtsen
2010-08-30 17:15 ` Adam Sjøgren
2010-08-30 17:18 ` Lars Magne Ingebrigtsen
2010-08-30 17:32 ` Adam Sjøgren
2010-08-30 18:24 ` Adam Sjøgren
2010-08-30 18:28 ` Lars Magne Ingebrigtsen
2010-08-30 18:36 ` Adam Sjøgren
2010-08-30 18:39 ` Adam Sjøgren
2010-08-30 20:05 ` Adam Sjøgren
2010-08-30 20:11 ` Lars Magne Ingebrigtsen
2010-08-30 20:14 ` Adam Sjøgren
2010-08-30 20:30 ` Adam Sjøgren
2010-08-30 20:41 ` Lars Magne Ingebrigtsen
2010-08-30 20:47 ` Adam Sjøgren
2010-08-30 20:52 ` Lars Magne Ingebrigtsen
2010-08-30 21:20 ` Adam Sjøgren
2010-08-30 21:29 ` Lars Magne Ingebrigtsen
2010-08-30 21:34 ` Adam Sjøgren
2010-08-30 18:39 ` Lars Magne Ingebrigtsen
2010-08-30 18:47 ` Adam Sjøgren
2010-08-31 15:08 ` Lars Magne Ingebrigtsen
2010-08-31 16:12 ` Lars Magne Ingebrigtsen
2010-08-31 16:40 ` Steinar Bang
2010-08-31 16:47 ` Lars Magne Ingebrigtsen
2010-08-31 16:50 ` Lars Magne Ingebrigtsen
2010-08-31 18:39 ` Ted Zlatanov
2010-08-31 18:42 ` Lars Magne Ingebrigtsen
2010-08-31 18:58 ` Ted Zlatanov
2010-08-31 19:01 ` Lars Magne Ingebrigtsen
2010-08-31 19:14 ` Ted Zlatanov
2010-08-31 19:17 ` Lars Magne Ingebrigtsen
2010-09-01 13:45 ` Ted Zlatanov
2010-09-01 14:27 ` Lars Magne Ingebrigtsen
2010-09-01 14:55 ` Ted Zlatanov
2010-09-01 15:32 ` Lars Magne Ingebrigtsen
2010-09-01 15:40 ` Ted Zlatanov
2010-09-01 15:56 ` Lars Magne Ingebrigtsen
2010-09-01 16:28 ` Ted Zlatanov
2010-09-01 16:43 ` Lars Magne Ingebrigtsen
2010-09-01 17:05 ` Ted Zlatanov
2010-09-01 17:10 ` Lars Magne Ingebrigtsen
2010-09-01 17:14 ` Lars Magne Ingebrigtsen
2010-09-01 17:21 ` Ted Zlatanov
2010-09-01 17:27 ` Lars Magne Ingebrigtsen
2010-09-01 17:43 ` Ted Zlatanov
2010-09-01 17:51 ` Lars Magne Ingebrigtsen
2010-09-01 18:27 ` Ted Zlatanov
2010-09-01 18:38 ` Lars Magne Ingebrigtsen
2010-09-01 19:33 ` Ted Zlatanov
2010-09-01 19:57 ` Lars Magne Ingebrigtsen
2010-09-01 20:20 ` Ted Zlatanov
2010-09-01 20:26 ` Lars Magne Ingebrigtsen [this message]
2010-09-01 20:33 ` Lars Magne Ingebrigtsen
2010-09-01 20:44 ` Lars Magne Ingebrigtsen
2010-09-01 21:18 ` Steinar Bang
2010-09-01 22:52 ` Lars Magne Ingebrigtsen
2010-09-02 7:24 ` Steinar Bang
2010-09-02 8:20 ` Daniel Pittman
2010-09-02 12:29 ` Steinar Bang
2010-09-02 10:21 ` Lars Magne Ingebrigtsen
2010-09-01 20:49 ` Ted Zlatanov
2010-09-01 20:55 ` Lars Magne Ingebrigtsen
2010-09-03 14:20 ` Ted Zlatanov
2010-09-03 17:54 ` Lars Magne Ingebrigtsen
2010-09-03 18:47 ` Lars Magne Ingebrigtsen
2010-09-07 17:51 ` Ted Zlatanov
2010-09-07 17:55 ` Lars Magne Ingebrigtsen
2010-09-08 8:34 ` Julien Danjou
2010-09-08 13:53 ` Ted Zlatanov
2010-09-08 14:13 ` Lars Magne Ingebrigtsen
2010-09-08 15:48 ` Ted Zlatanov
2010-09-08 15:59 ` Lars Magne Ingebrigtsen
2010-09-08 18:11 ` Ted Zlatanov
2010-09-08 17:48 ` Lars Magne Ingebrigtsen
2010-09-02 7:18 ` Frank Schmitt
2010-09-01 21:00 ` Steinar Bang
2010-09-01 21:03 ` Lars Magne Ingebrigtsen
2010-09-01 21:20 ` Steinar Bang
2010-09-01 21:52 ` Lars Magne Ingebrigtsen
2010-08-29 18:41 ` Adam Sjøgren
2010-08-29 18:51 ` Lars Magne Ingebrigtsen
2010-09-08 20:22 ` Adam Sjøgren
2010-09-08 20:31 ` Adam Sjøgren
2010-09-08 21:01 ` Lars Magne Ingebrigtsen
2010-09-08 21:15 ` Adam Sjøgren
2010-08-30 19:41 ` Andreas Schwab
2010-08-30 19:48 ` Lars Magne Ingebrigtsen
2010-08-30 21:17 ` Andreas Schwab
2010-08-29 5:32 ` Leo
2010-08-29 6:26 ` David Engster
2010-08-29 13:48 ` Lars Magne Ingebrigtsen
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=m3d3sxjjlw.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
--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).