Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-01-2009, 11:33 AM
|
#1
|
|
LQ Newbie
Registered: Sep 2009
Posts: 3
Rep:
|
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 http://de.selfhtml.org/javascript/ob...nt_writeln.htm 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?
Greetz
rohezal
|
|
|
|
09-01-2009, 11:59 AM
|
#2
|
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,965
|
As far as I know, elinks should support javascript as long as you compiled it with spidermonkey support.
|
|
|
|
09-01-2009, 12:32 PM
|
#3
|
|
LQ Newbie
Registered: Sep 2009
Posts: 3
Original Poster
Rep:
|
I did:
Quote:
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?
|
|
|
|
09-01-2009, 12:45 PM
|
#4
|
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,965
|
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.
|
|
|
|
09-01-2009, 01:02 PM
|
#5
|
|
LQ Newbie
Registered: Sep 2009
Posts: 3
Original Poster
Rep:
|
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 http://elinks.or.cz/download.html
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
Quote:
./configure
./make
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 
Last edited by rohezal; 09-01-2009 at 01:49 PM.
|
|
|
|
|
Tags
|
browser, java, javascript, links, linux, lynx, script, solution, spidermonkey, support, tutorial, working  |
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:54 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|