Tuesday, 22 December 2020

User-agent faking

Twitter.com no longer displays in Netsurf, saying "This browser is no
longer supported". Until recently it allowed access to a legacy desktop
layout, but no more.

Can the user-agent string be faked in Netsurf to allow it to display
Twitter pages? Perhaps just temporarily?

This page
https://help.twitter.com/en/using-twitter/twitter-supported-browsers
suggests Twitter is using the user-agent string to identify the client
browser (then deny access)

The code that produces it seems to be useragent.c ;
https://ci.netsurf-browser.org/jenkins/job/docs-netsurf/doxygen/useragent_8c.html

Regards
Ewen

--
Ewen Pring, St. Albans, Herts
using RISC OS 5
https://timebus.co.uk/riscos/
_______________________________________________
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-leave@netsurf-browser.org

No comments:

Post a Comment