LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 09-01-2009, 11:33 AM   #1
rohezal
LQ Newbie
 
Registered: Sep 2009
Posts: 3

Rep: Reputation: 0
Question 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
 
Old 09-01-2009, 11:59 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
As far as I know, elinks should support javascript as long as you compiled it with spidermonkey support.
 
Old 09-01-2009, 12:32 PM   #3
rohezal
LQ Newbie
 
Registered: Sep 2009
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 09-01-2009, 12:45 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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.
 
Old 09-01-2009, 01:02 PM   #5
rohezal
LQ Newbie
 
Registered: Sep 2009
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
  


Reply

Tags
browser, java, javascript, links, linux, lynx, script, solution, spidermonkey, support, tutorial, working



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Edgy/Firefox 2/Javascript - Firefox closes accessing websites with Javascript Interdictor Ubuntu 8 11-02-2006 11:58 AM
Javascript maseby Programming 1 04-09-2004 05:16 PM
Help with javascript? BajaNick Linux - Software 2 07-20-2003 08:41 PM
Recompiling RH 7.1 to disable DMA support - chipset doesn't support properly arby73 Linux - Newbie 0 06-13-2001 10:17 AM
javascript?? Marci Sarwan Programming 1 01-18-2001 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration