-   Linux - Software (
-   -   Looking for Textbrowser with JavaScript Support or Elink Javascript Support (

rohezal 09-01-2009 11:33 AM

Looking for Textbrowser with JavaScript Support or Elink Javascript Support
Hi Guys,

I need a textbrowser with Javascript Support. I have compiled the elinks stable 0.11x and the unstable 0.12x version mit JavaScript Support (js moz dev). Both browsers can be started and showed websites normaly. But no javascript, even simple tests like failed. Am I doing something wrong?
I started elink with ./elink and typed then the url.

Or can someone tell me about a textbrowser with good javascript support which runs out of the box?


i92guboj 09-01-2009 11:59 AM

As far as I know, elinks should support javascript as long as you compiled it with spidermonkey support.

rohezal 09-01-2009 12:32 PM

I did:


ELinks 0.12pre5
Built on Sep 1 2009 17:28:36

Besondere Eigenschaften:
Standard, IPv6, gzip, bzip2, UTF-8, Periodic Saving, Viewer (Search
History, Timer, Marks), Cascading Style Sheets, Protokoll
(Authentication, File, FTP, HTTP, URI Veränderung,
Benutzer-Protokolle), SSL (OpenSSL), MIME (Konfigurations-System,
Mailcap, Mime-Typen-Dateien), LED Indikatoren, Lesezeichen, Cookies,
ECMAScript (SpiderMonkey), Form History, Globaler Verlauf, Skripte
(Spidermonkey ECMAScript), Goto URL History
I start it with ./elinks. Maybe I have to start it with ./elinks --secret-javascript-command. Maybe you know the secret command?^^ Or maybe I have to edit the config file? But where is it (self build) and what must be editet?

i92guboj 09-01-2009 12:45 PM

As far as I know, you don't have to do anything special. The only thing is making sure that ECMAScript is enabled in the configuration dialog inside of elinks. Nothing else.

However, I don't know how complete or functional the js support on elinks is...

I've used w3m in the past but I have no idea if it supports javascript. links used to have some kind of limited support, but it wassn't that good and it was dropped at some point.

rohezal 09-01-2009 01:02 PM

How can start the dialog inside of elinks?

Edit: Oh man I'm stupid. Open Elinks -> Escape -> Settings -> Option Manager -> ECMA Script -> Open (with Space) -> Activate -> Edit -> 1. If you want to see javascript errors check Script Error Reporting to 1.

Second Edit: in short the whole progress: download the source of elinks
and unpack it.

get spider monkey and libmozjs-dev (sudo apt-get install libmozjs-dev spidermonkey-bin)
goto the folder you have unpacked elinks. Type


sudo ./install
Now the elinks file is in /usr/local/bin/ and called elinks. The configuration file is in:

/home/yourUserName/.elinks/ and called elinks.conf

Good luck guys :)

All times are GMT -5. The time now is 04:53 PM.