Re: [emacs-w3m:13607] Re: Browser Fingerprinting

Vladimir Sedach <[email protected]> Fri, 17 Apr 2020 14:08:58 -0700
Newsgroups gmane.emacs.help,gmane.emacs.w3m
Message-ID <[email protected]>
Vladimir Sedach <[email protected]> writes:
> A while back I tried setting w3m-user-agent to a recent Firefox
> user-agent string. Some websites (YouTube is one example I recall)
> started returning different pages that assumed JavaScript and AJAX
> and were no longer usable in emacs-w3m.

I should have checked my configuration before posting the above.
emacs-w3m has an option to send different user agent strings to
specified domains. Example from my current configuration:

--8<---------------cut here---------------start------------->8---
(setq w3m-user-agent
      "Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0"
      w3m-user-agent-site-specific-alist
      '(("youtube.com" . "Emacs-w3m/1.4.620 w3m/0.5.3")))
--8<---------------cut here---------------end--------------->8---

--
Vladimir Sedach
Software engineering services in Los Angeles https://oneofus.la