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

Re: Browser Fingerprinting



Vladimir Sedach <vas@xxxxxxxxxx> 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