move to discussions: live JavaScript test, -nocolour option and other features #328
john-peterson
started this conversation in
Ideas
Replies: 2 comments
-
Could you confirm, that you can write comments here? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@john-peterson hi, do you have some code, for example for -nocolor option ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
move to discussions: live JavaScript test, -nocolour option and other features
enable discussion in project settings
https://github.com/rkd77/elinks/discussions
enable discussions in project settings and move this thread there
todo
live test
live code test from the internet with my -test branch that enable page view and log all snippets
https://github.com/john-peterson/elinks/commits/test
to be used as
or
quickjs
https://linux.die.net/man/2/getuid
requires http >=2 and fake agent not JavaScript as the pre processor suggested
https://www.flupe.com/code/javascript/02_matrix-swap/matrix_swap.html
works without issues
https://www.flupe.com/code/javascript/10_mapleton-hill/time-slider-widget.html
the anchor links reset the page and this breaks traditional buttons
https://bakkot.github.io/test262-web-runner/
local doesn't show any file selector. remote doesn't download the test
https://jsbenchmark.com
redirecting. nothing loads
https://jsbench.me/
no page content is loaded. -test show two quickjs_eval no errors
https://jsbin.com/usidix/1/edit?output
the text doesn't show up anywhere
https://www.w3schools.com/js/tryit.asp?filename=tryjs_intro_inner_html
the click me button is not on the page. parsing errors
mujs
similar results as above. i could not find any difference or improvement
mozjs
doesn't suppress repeat errors like qjs does
broken buttons can be tested repeatedly with repeated error alert
none of the broken pages worked here either
reddit
https://www.reddit.com/r/commandline/comments/ldnzk1/elinks_text_browser_is_back/
error related to new module type script
it contains a placeholder for comments but no comments
quora
https://www.quora.com/How-do-I-make-selected-string-in-vim-to-be-inside-a-bracket
refactor ecmascript -> js
short names are best
src/ecmascript -> src/js
test/ecmascript -> test/js
features
add -nocolor flag
it has no concept of background color the only solution is a -nocolor flag to disable colour codes completely . nice and easy
js engine in --version
print the js engine version not just the name
mouse wheel scrolling stop on input fields
this is plaguing all links derivatives. i need
filter headers and footers
many pages have large headers before the page content
i need a script that removes the header from supported sites by finding a marker for the main content
termux build
my test branch build
Beta Was this translation helpful? Give feedback.
All reactions