mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-26 01:15:37 +00:00
edaf66fc60
Two api methods for lua scripting has been added. `reload()` allows to refresh the document without triggering a new html request. This commits expose that existing internal function to the lua api. One example where it is useful : making a lua hook that allows to edit a local file we're browsing and see the change without having to perform a full reload (thus losing the scrolling position). Or anything else that allows to interactively modify the currently loaded document. `goto_url()` allows to navigate to given url long after the page has been loaded (so follow_url_hooks can't be used). Example where it's useful : binding a key to load the latest archive.org snapshot for current page (especially useful when using tor and being constantly harassed by cloudflare). |
||
---|---|---|
.. | ||
guile | ||
lua | ||
perl | ||
python | ||
ruby | ||
smjs | ||
Makefile | ||
meson.build | ||
scripting.c | ||
scripting.h | ||
TODO |