yad
yad copied to clipboard
JS console doesn't return anything back
yad --version
5.0 (GTK+ 3.24.5) # exits with 1 (err) ?
Example 1.
test.htm
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("button").click(function(){
console.log("Hello!");
});
});
</script>
</head>
<body>
<button>Write Hello to console</button>
</body>
</html>
Command
cat test.htm | yad --html --height=400 --width=500
Example 2.
https://github.com/brontosaurusrex/clockpickeryad
./openwithyad
Context
https://forums.bunsenlabs.org/viewtopic.php?pid=96701#p96701
Try --browser argument