[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing a user agent string [CODE INCLUDED]
In [emacs-w3m:12872]
On Sun, 14 Jan 2018 00:44:01 -0500, Boruch Baum wrote:
> I wanted to easily see how pages might appear differently using
> different user-agent strings, so I wrote the following. If there is
> interest to add it to the project, I would change the alist to a
> defcustom.
I sometimes did it. So, I think such a feature would be helpful.
But if we implement the feature, I think it would be enough that
changing the user-agent field temporarily, not permanently. For
example, `C-u C-u R' will prompt a user to select a user-agent
string, reload the current page with it, and restore the value
of `w3m-user-agent'.
> If anyone on the list has any helpful experience to share regarding
> useful user-agent strings, I would welcome hearing about it.
The main purpose that I changed the user-agent field was to see
how a web page is viewed with it, or how an html source is changed
for a certain web browser. To verify it is changed, I use:
<http://www.delorie.com:81/some/url.txt>
P.S. Please add this one:
("Firefox 57" . "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0")