emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v5] Enable xwidgets on macOS


From: 조성빈
Subject: Re: [PATCH v5] Enable xwidgets on macOS
Date: Thu, 1 Aug 2019 00:55:02 +0900

> 2019. 7. 31. 오전 4:12, Juri Linkov <address@hidden> 작성:
> 
>>> Is this something we’re going to have to update over time?
>>> 
>>>     self.customUserAgent =
>>>       @"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6)"
>>>       @" AppleWebKit/603.3.8 (KHTML, like Gecko)"
>>>       @" Version/11.0.1 Safari/603.3.8";
>> 
>> I removed this part.
> 
> The User-Agent string should be automatically constructed
> from variables containing the current Emacs version,
> and package version like for example is constructed for eww,
> so server software can collect statistics about browsers
> to see what versions of eww or xwidgets were used to access pages.
> The first part beginning with "Mozilla/5.0 (compatible; ..."
> could be retained to request compatible Web pages.

I remember the User-Agent string behaving strange some time ago, but I believe 
removing will work fine, as the current User-Agent accurately describes the 
Webkit version compiled with Emacs. I'm not sure if constructing another 
User-Agent specially for Emacs is a good choice, compatibility with the web 
will be an issue (as that will be the main reason using xwidget-webkit)


reply via email to

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