Lynx Browser: The Land That Time Revived (2022)
popzazzle.blogspot.com
popzazzle.blogspot.com
Bad YC!
I mean, I’m sure it has its vulnerabilities, but nobody is actively looking for them.
In .mailcap include the line
text/html; lynx -dump -width=78 %s | sed 's/^ //'; copiousoutput; needsterminal; nametemplate=%s.html
in .muttrc include the line auto_view text/htmlI'd never thought about it like that, but it's a nice side-effect. You don't have to worry about obtrusive JS, if your browser doesn't know what JS is. :D
It's worse than that[0] - Lynx statically renders the page at load time which means any "dynamic" updates just can't happen. I did have a bash at integrating the Mozilla JS engine but gave up after realising that anything more than just `document.write("flange")` handled at load time would need the entire inner engine rewriting and that was/is far beyond me[1].
[0] This is based off my memories of the Lynx source back in the Olden Times, ~1995-2000ish.
[1] But I did do the original cookie jar and colour styles (as seen in the screenshots) work (`lynx.lss` is all my fault, sorry)
Chawan also renders CSS + images, but unlike the above two, it comes with its own browser engine (from scratch). It also does JS with QuickJS - if you're lucky :P (Lately I got Transmission's web UI to load, quite happy about that.)
And all the other dominant online services which broke noscript/basic (x)html to the benefit of the absurdely and grotesquely massive and complex (including their compiler) whatng web engines? This did shut the door definitely in the face of all citizen/state sponsored/small commercial alternatives which [could] have been super stable in time (including their SDK).
This is not "evolution" or "innovation", this is a scam and planned obsolescence at accute levels.
You could perfectly stream a video with a dash/HLS URL transfered to a media player (ads can be text on the web page and they can include some directly into the video stream).
In fact w3m was originally intended as a filesystem browser and file pager, with HTML functionality added to it. See: <https://w3m.sourceforge.net/>
I have elinks as a default `tmux` pseudoterminal. I don't use it often, but it's always there.
My emacs setup uses w3m as the parser for HTML mail in VM, my email client. It works really well. <https://news.ycombinator.com/item?id=39793342>
"You can say goodbye to uBlock Origin, which is now virtually useless with default settings anyway."
Are they referring to difficulties running uBO on chrome or ... that uBO is losing the arms race against advertising infra generally ?
I even installed it on my parents laptop and they never complained that ads suddenly started appearing.
https://terminaltrove.com/w3m/
https://terminaltrove.com/links/
https://terminaltrove.com/reader/
https://terminaltrove.com/elinks/
We are so glad that these tools exist for the terminal, we even still use w3m and lynx from time to time.
https://terminaltrove.com/lynx/
If you do use the terminal for your browsing I recommend ddgr as it integrates with all of the above browsers, except reader.
IME it's usually good enough for reading docs and stuff like that.
or nc <hostname> 80
I use w3m, though largely w/o graphics support.
I use links in graphical mode (links -g) quite a bit. It's easy to turn image display on and off with the '*' key. Image sizes can be scaled with the menu and they take effect immediately. If one hovers over an image link and types "i", the image itself is displayed, and there's an option to scale the image to fit the window. Getting a new links window is easy (Alt-F n). One gripe is that hitting Ctrl-C will close the window (the 'Q' key does this already)
I use lynx as a second line of defense when some sites refuse to work with links, because lynx is sometimes able to display them (different user agent?). I also have been recently using lynx within xterm (disabling the alternate screen) for forums where posted URLs are not clickable (text only) in combination with xterm's dabbrev-expand() function to quickly copy such URLs in lynx's goto prompt. As an aside: in xterm's misc.c there's a a macro (IS_WORD_CONSTITUENT) that can be easily expanded to exclude characters that are not part of a URL, such as braces.
I do worry that more and more websites will simply show "Suspicious Activity Detected" for these browsers. As mentioned so many times on HN, text browser users are a minority and text browsers are obsolete. I did once send a message to a website owner and later saw that I could access the site, but didn't get an acknowledgement by email, so I can't be sure if it was in response to my request. There still are some websites that degrade gracefully, and, despite complaints by the server, allow text input windows and submit buttons to still work.
- Vim-like keybindings. I've used lynx off and on for decades, but can never internalise its keybindings, and I'm constantly surprised (in a bad way) and frustrated.
- Support for table-based layout. This is less frequently encountered online these days, though some sites (HN and pg's own blog site) still use tables.
- Graphics support, should you want that.
- Extensive settings with a good management interface.
- Pretty darned good bookmarks management. My w3m bookmarks page is my default homepage for the browser, and gives ready access to a bunch of useful sites.
- Better default formatting settings, in particular concerning paragraph breaks and the like. Lynx to me is too crowded when rendering webpages.
- Most of what Lynx can do w3m does as well, in terms of basic functionality, piping input and output, etc.
I fairly regularly try out other terminal browser options (lynx, links, elinks, etc.) but w3m is my happy place.
I recently tried Usenet for the first time in 20 years. I installed slrn the text based newsreader I used in the 1990's. It has very useful color support. I wish Usenet was more active instead of 90% spam. Having threads go for years and being able to go to the next post by hitting "n" instead of clicking around is a lot quicker.
That seems to be a wrapper on DuckDuckGo, though it's helpful to know that DDG has its own lite-mode interface which plays quite well with the terminal.
As noted in an earlier comment I invoke ddg search with a shell alias:
ddg ()
{
w3m "https://duckduckgo.com/lite?q=$*&kd=-1"
}
The lite page itself is <https://duckduckgo.com/lite>.Last I'd tried using Google via w3m I found it blocking me entirely, though TBF I've not even tried it in months if not years.
I was at a cabin with dial up, just being able to disable images and selectively right click and click load image was a life saver back in the day.
It's a shame modern browsers don't really support low bandwidth needs at all.
Not lynx's fault, of course. But memories are memories.
Strong shoutout to nyxt, it's not terminal based but it is fast and I've liked it so far.
DuckDuckGo, online dictionaries or etymologies, wikipedia, weather, and news are among the quick look-ups I use. Being able to do all of that in shell / from terminal, have it in my shell history, and be able to pipe output or save to file are all wins in my book.
It also supports gopher and I heard rumors it will add Gemini (protocol, the real Gemini). If so, that would be awesome.