Text browser with javascript

In case where only terminal is available and web page have to be tested text browsers are helping a lot. But when a web page needs JavaScript to work most of the browsers cannot help.

One of the browsers that support JS is elinks version greater than 0.13.
Most of the package managers have elinks 0.12 and it does not support JS.

As it is open source the obvious solution is to compile.

wget http://elinks.or.cz/download/elinks-current-0.13.tar.bz2
tar xjvf elinks-current-0.13.tar.bz2
cd elinks-0.13*

Then Check for ECMAScript support.
If supported continue with

sudo make install

or install java script developer package.
for CentOS 7 it is called js-devel, for your OS it might vary

last step is to verify

elinks --version
ELinks 0.13.GIT
Built on May 22 2020 17:44:52

Standard, IPv6, UTF-8, Periodic Saving, Viewer (Search History, Timer,
Marks), Cascading Style Sheets, Protocol (Authentication, File, FTP,
HTTP, URI rewrite, User protocols), MIME (Option system, Mailcap,
Mimetypes files), LED indicators, Bookmarks, Cookies, ECMAScript
(SpiderMonkey), Form History, Global History, Scripting (Spidermonkey
ECMAScript), Goto URL History

If you have found a spelling error, please, notify us by selecting that text and pressing Ctrl+Enter.

Tagged with: , ,

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.