rkd77
rkd77
``` import elinks import fcntl import termios import os import sys latest_closed_tab_url = '' def try_to_close_tab(): """Save url when closing tab.""" global latest_closed_tab_url latest_closed_tab_url = elinks.current_url() with open('/dev/stdin', 'w') as...
Recent kernels due to security reasons have disabled TIOCSTI. You can set: dev.tty.legacy_tiocsti=1 in /etc/sysctl.conf
@Moult check this code ^. You must assign key to reopen-last-closed-tab action or run it in exmode.
Yes, it is rather an exception when javascript works on some page. For spidermonkey script content is first encoded as UTF-16 or UTF-8. Here it fails. You can check quickjs.
I confirm that when curl is enabled this error is shown. When curl is disabled the page is displayed.
Added a workaround, but need to "click" Yes on the above dialog. Second issue, I don't know why the dialog does not disappear automatically.
Currently positions in rendered documents are only remembered for anchors. Instead of hacking current code, an idea is to steal rendering engine from somewhere. New engine must have easy obtaining...
Could you remind what your system is and how elinks was built: meson or configure options?
It seems is "broken" in all cases. You can check: ``` set document.cache.cache_redirects = 0 set document.cache.ignore_cache_control = 0 set document.cache.revalidation_interval = 0 ```
Alternative is to assign keys to action "link-follow-reload". For example Enter or Right. Not tested.