LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , , , , , , , ,

Reply
 
Thread Tools
Old 09-01-2009, 12:33 PM   #1
rohezal
LQ Newbie
 
Registered: Sep 2009
Posts: 3
Thanked: 0
Question Looking for Textbrowser with JavaScript Support or Elink Javascript Support


[Log in to get rid of this advertisement]
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
linuxubuntu rohezal is offline  
Tag This Post , , , , , , , ,
Reply With Quote
Old 09-01-2009, 12:59 PM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 2,875
Thanked: 266
As far as I know, elinks should support javascript as long as you compiled it with spidermonkey support.
linuxgentoo i92guboj is offline     Reply With Quote
Old 09-01-2009, 01:32 PM   #3
rohezal
LQ Newbie
 
Registered: Sep 2009
Posts: 3
Thanked: 0

Original Poster
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?
linuxubuntu rohezal is offline     Reply With Quote
Old 09-01-2009, 01:45 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 2,875
Thanked: 266
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.
linuxgentoo i92guboj is offline     Reply With Quote
Old 09-01-2009, 02:02 PM   #5
rohezal
LQ Newbie
 
Registered: Sep 2009
Posts: 3
Thanked: 0

Original Poster
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 02:49 PM..
linuxubuntu rohezal is offline  
Tag This Post , , , , , , , ,
Reply With Quote

Reply

Bookmarks


Thread Tools

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 12:58 PM
Javascript maseby Programming 1 04-09-2004 06:16 PM
Help with javascript? BajaNick Linux - Software 2 07-20-2003 09:41 PM
Recompiling RH 7.1 to disable DMA support - chipset doesn't support properly arby73 Linux - Newbie 0 06-13-2001 11:17 AM
javascript?? Marci Sarwan Programming 1 01-18-2001 10:18 AM


All times are GMT -5. The time now is 12:22 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration