You are not logged in.

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

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
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: 11,868

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)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

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

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
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