Hello, Here is a formal request for including javascript support again, with motivation. Samuel ----- Forwarded message from Klaus Knopper <accessibility@knopper.net> ----- From: Klaus Knopper <accessibility@knopper.net> To: debian-accessibility@lists.debian.org, elinks@packages.debian.org Subject: Re: links2 with javascript Date: Thu, 29 Aug 2013 00:56:42 +0200 Hello Samuel, That makes it sound as if javascript support was already gone in elinks, but it isn't. elinks supports javascript by libmozjs that comes with mozilla, and it is still working fine, and as far as I can tell, even regularly updated. So there is no immediate need for a discussion about a missing feature that isn't missing right now. Some Javascript support in a text browser is practical for websites that use javascript for internal presorting of web form options, or focusing a specific form element, and other things done on the client side rather than on the server side. Using elinks insetad of lynx or links makes some otherwise disfunctional or badly written websites accessible for blind users, that's the main reason why I include elinks with javascript support. But again, there is no reason for discussion about this. It just works. As far as I understand Dougs question, the only thing he wanted to ask you was if there is a 64bit version of elinks in Debian(-accessibility), or planned as a dedicated amd64 package. Personally, I don't know, since I just need the 32bit userspace version and build my own package from git. I also sent him the link to my sources. Regards -Klaus----- End forwarded message -----
Hi,
The libmozjs library undergoes fairly disruptive changes.
Back in 2011 some interfacess in a new upstream release of libmozjs
changed and after some failed debugging I disabled it. From my experience the
support was very limited anyway. I cannot remember a website I use that was
usable with elinks's Javascript some. Sometimes even the contrary; if no
Javascript is available websites fall back to a non-JS version, while with
Javascript the websites fails due to the limited scope of JS support in elinks.
If elinks from unstable works again with current libmozjs from unstable.
please file a bug against elinks and I'll re-enable JS support in the
next upload.
Cheers,
Moritz
Javascript support needs libxml++5 which isn't in Debian.
Javascript support requires libcss & libdom, which can be provided by netsurf source package. libxml++5.0 is no longer required.
mozjs: https://salsa.debian.org/aelmahmoudy/elinks/-/pipelines/797446 quickjs: https://salsa.debian.org/aelmahmoudy/elinks/-/pipelines/797459 mujs: https://salsa.debian.org/aelmahmoudy/elinks/-/pipelines/797467 Please test them and give feedback which is better. Note, that you would also need libcss, libdom, libhubbub, libparserutils & libwapcaplet which are available on: https://salsa.debian.org/aelmahmoudy/libcss https://salsa.debian.org/aelmahmoudy/libdom https://salsa.debian.org/aelmahmoudy/libparserutils https://salsa.debian.org/aelmahmoudy/libwapcaplet https://salsa.debian.org/aelmahmoudy/libhubbub https://salsa.debian.org/aelmahmoudy/netsurf-buildsystem either build from source, or get the binary packages (build for unstable) from the latest jobs' artifacts.
mozjs: https://salsa.debian.org/aelmahmoudy/elinks/-/pipelines/797446 quickjs: https://salsa.debian.org/aelmahmoudy/elinks/-/pipelines/797459 mujs: https://salsa.debian.org/aelmahmoudy/elinks/-/pipelines/797467 Please test them and give feedback which is better. Note, that you would also need libcss, libdom, libhubbub, libparserutils & libwapcaplet which are available on: https://salsa.debian.org/aelmahmoudy/libcss https://salsa.debian.org/aelmahmoudy/libdom https://salsa.debian.org/aelmahmoudy/libparserutils https://salsa.debian.org/aelmahmoudy/libwapcaplet https://salsa.debian.org/aelmahmoudy/libhubbub https://salsa.debian.org/aelmahmoudy/netsurf-buildsystem either build from source, or get the binary packages (build for unstable) from the latest jobs' artifacts.