You are not logged in.

#1 2017-07-23 01:01:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,021
Website

elinks with javascript support [SOLVED]

It seems that elinks has support for javascript which would make it the only text browser I am aware of that can do it.  I am attempting to browse to my pihole server with it, but it seems that javascript is disabled...  perhaps "SpiderMonkey document scriptings" is not javascript.  To my knowledge, I compiled elinks with it:

Per this, it should be enabled.

...
Feature summary:
...
ECMAScript (JavaScript) ......... SpiderMonkey document scripting
Browser scripting ............... Lua, SpiderMonkey
...

Yet, when I tried to my my pihole server, I get a "Javascript Is Disabled."  I am using the official PKGBUILD.

Last edited by graysky (2017-07-25 07:25:55)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2017-07-23 13:50:00

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,274

Re: elinks with javascript support [SOLVED]

By default, JavaScript is not enabled. We’ll need to start elinks, press “Esc” twice to access to the top menu, and go to Setup->Options Manager. Expand ECMAScript menu, select Enable, and Edit to set the value to 1.


It seems you have to enable javascript at runtime, taken from here .

Last edited by Lone_Wolf (2017-07-23 13:51:38)


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#3 2017-07-25 07:25:44

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,021
Website

Re: elinks with javascript support [SOLVED]

Thanks for the link... I had to build with 'js185' in the depends array to get it to work... guessing that is a vector for bad things.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB