How can you use Javascript in terminal for w3m?
30,703
Solution 1
Javascript requires a Javascript interpreter. If your user-agent doesn't understand a particular kind of scripting, it simply ignores it. To get a minimal level of support, try the w3m-js extension.
Solution 2
Unfortunately w3m doesn't support JavaScript at all.
Comments
-
Michal aka Miki almost 2 years
I found the text browser w3m which is the best so far in my opinion. However, it is main problem is Javascript.
I cannot see comments at all in Stackoverflow when I use it.
I am not sure what is the restriction in letting Javascript to be in terminal.
How can you enable at least some of JavaScript for Terminal such that comments are visible?
-
Michal aka Miki about 15 yearsHow can you use that code in terminal? Where do I need to put it to run w3m nicely?
-
coder14 about 15 yearsYou'll have to download, compile and install the program w3m-js and all the libraries it requires.
-
bgoodr about 8 yearsOP said "letting Javascript to be in terminal" so does Conkeror work under a terminal or does it require an X connection?
-
bgoodr about 8 yearsweb.archive.org/web/20101124213553/http://abe.nwr.jp/w3m/… is the most recent non-dead Archive link for abe.nwr.jp/w3m/w3m-js.html but even the archive link is not that helpful since links on that page do not really go anywhere.
-
bgoodr over 7 years@anonymous2, That is why I believe that Conkeror does not apply to the OP's question. I believe the intent is that the web content needs to be "rendered" into terminal windows such as Linux consoles and dumb terminals that, by design, should not require an X connection.