[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing user agent on eww

From: Rüdiger Sonderfeld
Subject: Re: Changing user agent on eww
Date: Sat, 18 Jan 2014 15:16 +0100
User-agent: KMail/4.11.3 (Linux/3.11.0-14-generic; KDE/4.11.3; x86_64; ; )

On Saturday 18 January 2014 18:40:02 Vibhav Pant wrote:
> Is it possible to change the user agent for fetching pages on eww (something
> like a variable or a command)? --

Kinda, eww uses url.el to fetch webpages.  Url.el has no direct variable to 
set the User-agent.  But if you set `url-privacy-level' to `paranoid' no User-
agent is sent at all.  The function `url-http-user-agent-string' is used to 
create the User-agent string.  You should be able to override it, to send 
whatever User-agent string you prefer.  Maybe we should add a variable for the 
user agent to make it easier to customize.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]