Support other text mode browsers

main
Bob Mottram 2022-07-13 12:28:06 +01:00
parent 26d8e88407
commit 6bf46d15ad
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ def _html_timeline_keyboard(moderator: bool, text_mode_banner: str,
def _text_mode_browser(ua_str: str) -> bool:
"""Does the user agent indicate a text mode browser?
"""
if 'Lynx/' in ua_str:
if ('Lynx/', 'w3m/', 'Links (', 'eww/') in ua_str:
return True
return False