views:

1944

answers:

3

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?

+1  A: 

Unfortunately w3m doesn't support JavaScript at all.

andri
+4  A: 

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.

John Feminella
How can you use that code in terminal? Where do I need to put it to run w3m nicely?
Masi
You'll have to download, compile and install the program w3m-js and all the libraries it requires.
scraimer
+1  A: 

Try Conkeror

Masi -- I'd recommend taking a look at Conkeror, which is basically Firefox with Emacs keybindings. If you want a keyboard driven UI with Javascript, it's your best bet:

http://conkeror.org

http://www.saltycrane.com/blog/2008/01/firefox-for-emacs-users/

The frontpage could use a makeover, but once you download and install it you'll wonder why you never tried it before...

(and if you're a vim user, you could try vimperator).

ramanujan