[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
google looping!
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Fri, 08 May 2015 14:15:26 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 12440
Hi,
I don't know when it began, but I was made aware that Google
search is looping, thanks to Jidanni. An easy workaround to
avoid it is to set `w3m-use-refresh' to nil, or to set
`w3m-user-agent' to that of a popular web browser[1].
The cause of the looping is that Google specifies the REFRESH
meta tag for zero seconds in every search result[2], and
emacs-w3m respects it by default.
What do you think about the best (or a better) way for emacs-w3m
to fix the problem? What I think is to ignore the REFRESH meta
tag for only Google.
Thanks.
[1] An example of faking User-Agent
(setq w3m-user-agent
"Mozilla/5.0 (Windows NT 6.1; rv:37.0) Gecko/20100101 Firefox/37.0")
[2] Google's REFRESH meta tag
<meta content="0;url=/search?q=emacs&inlang=ja&hl=ja&
ie=UTF-8&gbv=1&sei=z0FMVbjwI4asmAWKlYDoAQ"
http-equiv="refresh">