<html> <body onload="hello()"> <script> function hello() { console.log("Hello World"); } </script> <pre> You'll find the console.log at config dir (~/.elinks) </pre> </body> </html>