How can you use Javascript in terminal for w3m?

旧城冷巷雨未停 提交于 2019-12-21 04:09:15

问题


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:


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.




回答2:


Unfortunately w3m doesn't support JavaScript at all.




回答3:


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).



来源:https://stackoverflow.com/questions/764624/how-can-you-use-javascript-in-terminal-for-w3m

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!