ladybird/Base/home/anon/www/alert.html
Andreas Kling 9c9d3f0904 LibWeb: Parse <script> elements and run any JavaScript found inside
This patch begins integrating LibJS into LibWeb. Document holds the
JS::Interpreter for now, and it is created on demand when you first
call Document::interpreter().

We also add a simple "alert()" function to the global object.
2020-03-14 13:25:38 +01:00

11 lines
137 B
HTML

<!DOCTYPE html>
<html>
<head>
<script>
alert("Hello friends!");
</script>
</head>
<body>
</body>
</html>